cordova-background-geolocation-lt
Version:
Cordova / Capacitor Background Geolocation. The most sophisticated, cross-platform location-tracking and geofencing plugin with battery-conscious motion-detection intelligence.
32 lines (27 loc) • 790 B
TypeScript
/// <reference path="../types.d.ts" />
///
declare module "cordova-background-geolocation-lt" {
/**
* __[Android only]__ Configuration for showing an android dialog prior to forwarding the user to a permission settings-screen.
*
*/
interface PermissionRationale {
/**
* The title of the dialog window.
*/
title?: string;
/**
* The body text of the dialog.
* Provide an explanation of why you need this permission, similar in purpose to iOS' __`NSLocationAlwaysAndWhenInUseUsageDescription`__.
*/
message?: string;
/**
* The text to display on the *positive action* button.
*/
positiveAction?: string;
/**
* The text to display on the *negative action* button (eg: *Cancel*)
*/
negativeAction?: string;
}
}