Android Question My App rejected from Google by background use

Paolo Pini

Member
Licensed User
Longtime User
Hi
Google reject my app by: Background location access not declared

sincerly I don't know what is means, I guess is why I use GPS tracking in my app.

My app use google maps tracking to follow the user during is trip.

Google Play Console ask me to compile some form to justify why I use background access but I'm not sure what write in.

Moreover Google help say that the manifest can't use:
  • ACCESS_BACKGROUND_LOCATION
  • ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION
But I not use it, perhaps is specified in some other areas?

This my Manifest:

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)

AddManifestText(<uses-feature android:name="android.hardware.location.gps"/>)  

SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")

'rende trasparente la barra del titlolo della activity
SetActivityAttribute(main, android:theme, @android:style/Theme.Translucent.NoTitleBar)
SetActivityAttribute(webview, android:theme, @android:style/Theme.Translucent.NoTitleBar)

AddApplicationText(
    <meta-data android:name="com.google.android.geo.API_KEY" android:value="AIzaSyBGxjjHXia-KXEoi6fEzxaIwdapkdd7Frk"/>
    <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
)

I believe to don't need to use background access and I would to know how to specify this.

Thanks in advance for any suggestions.

Paolo
 
Last edited:

roumei

Active Member
Licensed User
Do you have a published version of your app on Google Play? It might help me to understand how your app works and where the problem might be.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Example incl. all Manifest needed, Runtimepermission used...

 
Upvote 0

Paolo Pini

Member
Licensed User
Longtime User
Do you have a published version of your app on Google Play? It might help me to understand how your app works and where the problem might be.

Thanks for your reply, but my app was cancelled, I don't know how to show it.
 
Upvote 0

Paolo Pini

Member
Licensed User
Longtime User
Example incl. all Manifest needed, Runtimepermission used...


Thanks Manfred, I'll try to check this manifest.
 
Upvote 0
Top