Is there a way to my App (React Native) detect that the device is connected with the PC?
I have this application that needs to detect if the device (Android) is connected with the PC (Windows) via USB, and then make some procedures. A simple return with true||false
would be enough. Something like calling the function:
isConnectedViaUSB() // returns true or false.