Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permission handling on device connection #21

Closed
Gobink6 opened this issue Oct 6, 2020 · 3 comments
Closed

permission handling on device connection #21

Gobink6 opened this issue Oct 6, 2020 · 3 comments

Comments

@Gobink6
Copy link

Gobink6 commented Oct 6, 2020

If the phone is rebooted, but the cable remains plugged in, and then the app is opened, the pop up will come back.
If the USB cable is unplugged, upon replugging the pop up does not come back.
However, if the app is closed, but the cable remains plugged in, and then the app is reopened, the pop up does not come back.

@kai-morich
Copy link
Owner

Android caches the permission. do you have connection issues?

@Gobink6
Copy link
Author

Gobink6 commented Oct 7, 2020

I did not have a connection issue, the first time I gave a USB permission, every time I reboot the device the cable remains plugged in the device and then the app is opened, the USB permission pop up will come back, If I unplugged USB cable and replugged the USB permission pop up does not come back.

@kai-morich
Copy link
Owner

the app cannot influence how Android caches the permission

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants