developer9969
developer9969

Reputation: 5236

Does your app access location in the background in APK?

Can someone explain what this question actually means and if it's safe to say no this question

Does your app access location in the background in APKs or app bundles targeting Android 9 (Pie) or older (SDK level 28 or lower)?

enter image description here

Question Is it safe to say that the app does not access location in the background?

Thanks for your time and appreciate your prompt response!!

Update

App Target android MIN Android 6 Target Android 9 ( old app)

Upvotes: 0

Views: 642

Answers (1)

Guangyu Bai - MSFT
Guangyu Bai - MSFT

Reputation: 4586

First, in your app's manifest, check for the ACCESS_COARSE_LOCATION permission and the ACCESS_FINE_LOCATION permission. Verify that your app requires these location permissions.

Second, If your app targets Android 10 (API level 29) or higher, also check for the ACCESS_BACKGROUND_LOCATION permission. Verify that your app has a feature that requires it.

Third, looking for use of location access APIs, such as the Fused Location Provider API, Geofencing API, or LocationManager API.

Last, If your app uses an SDK or library that accesses location, this access is attributed to your app. To determine whether an SDK or library needs location access, consult the library's documentation.

Upvotes: 1

Related Questions