Official Content

Indicates whether Background Location is used in an application (to include the necessary permissions: ACCESS_BACKGROUND_LOCATION, FOREGROUND_SERVICE_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 and FOREGROUND_SERVICE_LOCATION permissions are 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
SAC #53972

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant