How to prompt user to turn on otg from app?

40 Views Asked by At

I am building an app that interacts with an external device connected via usb. But for some phones like realme, oppo the app does not know whether the device is connected if the otg is turned off. Is there a way to know whether otg is on and make my app prompt the user to turn on otg if otg was off?

0

There are 0 best solutions below