kmaslowiec / gdzie-moj-stop

An app that reads from Szczecin bus transportation api and GPS location to find the nearest bus stop and display the schedule.
0 stars 0 forks source link

Run time permissions dialogs #16

Open kmaslowiec opened 1 month ago

kmaslowiec commented 1 month ago
kmaslowiec commented 1 month ago

See the runtime permission flow

kmaslowiec commented 1 month ago

Material 3 Dialog

kmaslowiec commented 1 month ago

Permissions flow example

kmaslowiec commented 1 week ago

flow

due to google design user should be informed in general UI why the permission is required

the rationale is true when:

Permission denied previously: If the user has denied the permission request previously but didn't select the "Don't ask again" checkbox, shouldShowRequestPermissionRationale() will return true. This indicates that you should show a rationale to explain why the permission is needed before asking for it again.

the rationale is false when: