• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Is it necessary to show "Location Access" Prompt every time requesting for the location?

Recently google made it mandatory to show alert message to describe why location access is required, before requesting for location access.

This is the link where all the details have been mentioned -- https://support.google.com/googlepl...onstration,see-an-example-video-demonstration

And, This is how the sample prompt looks like(Please refer attached screen).
Screenshot 2021-10-26 at 11.18.59 AM.png

But Showing such a message to users every time they are requesting location is little bit annoying. Because, In our users has to do Check-In and Check-Out on daily basis.

Hence, Can I show this message only once unless they have uninstalled the app?
 
I'm not a developer so I can't really help you with how to implement this, but you shouldn't need to ask for the permission every time it is required. When I open a new app which needs access to my location, my phone (running Android 12) provides me with a few options for how the access should be granted.

Screenshot_20211026-142656.png

Only selecting the "Only this time" option will cause me to be prompted again; otherwise, the app is able to automatically access my location the next time it needs to without having to ask me again.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones