From the beginning google rejects my app from the playstore.
The app uses geolocation in background (Service LocationMonitor and FusedLocationProvider). That is also the only purpose of the app. It is for members of the emergency services and fire brigade. So the control center can see where the members are at this moment. If I want to publish it, google answer as follows:
I believe that I am doing something wrong somewhere. I've been looking for the bug for 3 weeks now.
Anyone have an idea?
Thanks very much.
The app uses geolocation in background (Service LocationMonitor and FusedLocationProvider). That is also the only purpose of the app. It is for members of the emergency services and fire brigade. So the control center can see where the members are at this moment. If I want to publish it, google answer as follows:
Prominent disclosure needed before location runtime permission
Your app must display a prominent disclosure through a pop-up alert before your app’s location runtime permission. Based on our review, a prominent disclosure did not appear before the runtime permission.
Please add a prominent disclosure and make sure it appears before the location runtime permission.
Remember, your prominent disclosure must:
• Appear before your app’s location runtime permission.
• Include at least the following sentence, adapted to include all the relevant features requesting access to location in the background in the app that are readily visible to the user: “This app collects location data to enable ["feature"], ["feature"], & ["feature"] even when the app is closed or not in use.”
• Include any other details necessary to make it clear to the user how and why you are using location in the background. While additional content is permitted, it should not cause the required content to not be immediately visible.
• Include the following sentence, if you extend permitted usage to ads: “This data is also used to provide ads.”
Manifest:
SetServiceAttribute(LocationMonitor, android:foregroundServiceType, "location")
AddPermission(android.permission.ACCESS_BACKGROUND_LOCATION)
Activity_Create:
Sub Activity_Create(FirstTime As Boolean)
dim s as String
If FirstTime Then
If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION) = False Then
Dim s As String
s = "Diese APP fragt nach der Erlaubnis zur Standortermittlung." & CRLF
s = s & "Diese APP ermöglich eine Standortermittlung " & CRLF
s = s & "1) im Vordergrund, wenn der Benutzer den Button <Position senden> anklickt " & CRLF
s = s & "2) im Hintergrund, "
s = s & "auch wenn die APP gerade nicht sichtbar ist oder " & CRLF
s = s & "nicht benutzt wird oder der Bildschirm deaktiviert ist." & CRLF & CRLF
s = s & "Diese Option lässt sich in den Einstellungen ein- und abschalten." & CRLF & CRLF
s = s & "Die Standortermittlung dient dazu, "
s = s & "den Standort des Benutzers innerhalb eines Einsatzgeschehens automatisiert an die "
s = s & "Lunasoft Lagekarte zu übertragen."
'no sync
'show before permission
Msgbox( s, "Erklärung zur Standortermittlung")
End If
Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION)
End If
I believe that I am doing something wrong somewhere. I've been looking for the bug for 3 weeks now.
Anyone have an idea?
Thanks very much.