Access to location is considered in the foreground if it happens while the app is open and visible to the user. If the user closes the app, or hits the home button to return to their main screen , then the app’s access to location is considered in the background.
Read moreWhat does it mean when an app uses your location in the background?
Types of location apps can request: In the foreground: The app can use your location only when the app is open on your screen or when you ask the app to do something. In the background: The app can use location info at any time, even if you aren’t using it .
Read moreWhy do we need background location permissions?
An app requires background location access if a feature within the app constantly shares location with other users or uses the Geofencing API . Several examples include the following: Within a family location sharing app, a feature allows users to continuously share location with family members.
Read more