Android 11- Location One-Time Permission, how to know if this was selected by the user

425 views Asked by At

In Android 11, with the new permission grant logic for one-time permission request. How can we know when "Only this time" Location was selected and not the "While app in use".

Is there a way to distinguish the two granted permissions at runtime programmatically.

0

There are 0 answers