Android Question felUsbSerial Permission on reboot

Discussion in 'Android Questions' started by biometrics, Aug 23, 2019.

  1. biometrics

    biometrics Active Member Licensed User

    I am using a FTDI USB to serial device. It's working well with the felUsbSerial library. I have defined the device as per this post:

    On Android 5 I am only asked for permission once. Even after rebooting it doesn't ask for permission again.

    On Android 7 it asks for permission after each reboot.

    Is there a way to stop it from asking permission again after a reboot on Android 7?

    This is for an unattended solution so it asking for permission again makes it unusable.
  2. Erel

    Erel Administrator Staff Member Licensed User

    The behavior is not related to the Android version. On some devices the USB implementation is not proper. Assuming that you defined the xml file correctly then there is nothing else that you can do. Try it with a different device.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice