1. Are you ready for the Galaxy S20? Here is everything we know so far!

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

Discussion in 'Android Development' started by Syam Kishore, Oct 26, 2021.

  1. Syam Kishore

    Syam Kishore Lurker
    Thread Starter

    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?
     



    1. Download the Forums for Android™ app!


      Download

       
  2. codesplice

    codesplice Elite Recognized Moderator
    Moderator

    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.
     
Loading...
Similar Threads - necessary show Location
  1. Thfaro
    Replies:
    5
    Views:
    732
  2. Gabriele Cestra
    Replies:
    0
    Views:
    415
  3. kgw2511
    Replies:
    2
    Views:
    827
  4. Zombie977
    Replies:
    4
    Views:
    776
  5. connorhawke
    Replies:
    3
    Views:
    417
  6. Vítězslav Herman
    Replies:
    1
    Views:
    522
  7. jango1969
    Replies:
    3
    Views:
    699
  8. npuleio
    Replies:
    0
    Views:
    906
  9. kumaranil13k
    Replies:
    9
    Views:
    631
  10. yoyosh
    Replies:
    2
    Views:
    875

Share This Page

Loading...