Use Background Location property

Official Content
This documentation is valid for:
Indicates whether Background Location is used in an application (to include the necessary permission: ACCESS_BACKGROUND_LOCATION).

Values

False
True

Scope

Objects: Menu, Panel, Work With (Only Main Objects)
Generators: Android

Description

Allows setting whether the application requires permissions to access location in the background.

When this property is set to True, the ACCESS_BACKGROUND_LOCATION permission is added to the Android Application Manifest.

When the application targets Android 10 (API level 29) or higher, and requires the use of this permission, make sure that it is really necessary since in most cases applications need locations when the user interacts with the app.
If it is necessary, follow Google's recommendations on the use of this permission: Requesting access to location in the background. Otherwise, you could receive a message stating "Prominent Disclosure Not Found" when trying to have an application approved.

Runtime/Design time

This property applies only at design-time.

How to apply changes

To apply the corresponding changes when the property value is configured, Build the Main Object.

See Also

Geolocation external object