Android permission rationale
This commit is contained in:
parent
51ed15372d
commit
00ff16a5ae
1 changed files with 6 additions and 0 deletions
|
|
@ -88,6 +88,12 @@ class Preferences {
|
|||
disableStopDetection: instance.getBool(stopDetection) == false,
|
||||
pausesLocationUpdatesAutomatically: instance.getBool(stopDetection) == false,
|
||||
fastestLocationUpdateInterval: fastestLocationUpdateInterval > 0 ? fastestLocationUpdateInterval : null,
|
||||
backgroundPermissionRationale: bg.PermissionRationale(
|
||||
title: "Allow {applicationName} to access this device's location in the background",
|
||||
message: "For reliable tracking, please enable {backgroundPermissionOptionLabel} location access.",
|
||||
positiveAction: "Change to {backgroundPermissionOptionLabel}",
|
||||
negativeAction: "Cancel"
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue