opendroneid / receiver-android

Example Android receiver application for unmanned aircraft Remote ID
Apache License 2.0
186 stars 61 forks source link

Rejecting permissions can stop the app from working on Android 12 #50

Open friissoren opened 2 years ago

friissoren commented 2 years ago

Google seems to have changed something on Android 12. If the user doesn't grant permissions when they are being requested, the toast messages that give feedback to the user are not visible. Even the recent changes to use a snackbar instead doesn't seem to help with this problem.

And worse, if the user continue to reject permissions, at some point the app won't even ask anymore and can't even be started to make another request.

friissoren commented 1 year ago

At least partly fixed by https://github.com/opendroneid/receiver-android/commit/92c5471f6a318f498623a829595b6ead267a6b00.