Skip to content Skip to sidebar Skip to footer

App Only In Foreground: How To Avoid "background Location Access Not Declared"

my app needs to get access to the location only when it is in foreground. The goal is to record the gps position at moment the user clicks on a button. The app was working fine for

Solution 1:

After 1 week of working hard to find out what the problem was, sending messages to Google support (no answers), releasing different versions of my code in closed testing branches, filling again the policy form, etc... the problem disappeared by itself (no code change) this week-end.

Solution 2:

One of my Application is based on background location and it got approved by google by simply doing these steps :

  • Step 1> Add popup explaining why we are taking user location in background
  • Step 2> IMPORTANT popup should appears before notification permission.
  • Step 3> create video to explain your use case why it is important to take location in background
  • step 4> The popup is most important make sure video have that detail popup display.
  • step 5> share video link on play console
  • step 6> add written explanation of your usecase on play console
  • step 7> add latest apk on playstore for review.

Post a Comment for "App Only In Foreground: How To Avoid "background Location Access Not Declared""