Android 10 features a background access location reminder, which increases transparency into how much access apps have to a device’s location and helps users maintain control over such access . In Android 9 and lower, an app can track a device’s location while running in the background without the user’s knowledge.
Read moreHow do I enable my location background?
In order to enable background location access, users must set the Allow all the time option for your app’s location permission on a settings page , as described in the guide on how to Request background location.
Read moreHow do I enable background permission?
Turn on background data
Read more