Was having issues connecting to my adapter, seems like a permission intent was missing.
Listening to the intent seems to not be required because onResume gets called after accepting/rejecting the dialog. if StartWfbNg were to be moved out of OnResume it would be a good idea to then listen to the intent via a BroadcastReceiver
So sorry, I just saw this pull request now. I did a bunch of fixes together. Let me know if you still want to merge this after. I believe the usb permission should be fixed on main already.
Was having issues connecting to my adapter, seems like a permission intent was missing.
Listening to the intent seems to not be required because onResume gets called after accepting/rejecting the dialog. if StartWfbNg were to be moved out of OnResume it would be a good idea to then listen to the intent via a BroadcastReceiver