feat(background-geolocation): add showAppSettings function

closes #548
This commit is contained in:
Ibrahim Hadeed 2016-09-19 18:18:53 -04:00 committed by GitHub
parent 42d1bbc7a8
commit 281575b961

View File

@ -287,11 +287,17 @@ export class BackgroundGeolocation {
@Cordova() @Cordova()
static isLocationEnabled(): Promise<number> { return; } static isLocationEnabled(): Promise<number> { return; }
/**
* Display app settings to change permissions
*/
@Cordova({ sync: true })
static showAppSettings(): void { }
/** /**
* Display device location settings * Display device location settings
*/ */
@Cordova() @Cordova({ sync: true })
static showLocationSettings() { } static showLocationSettings(): void { }
/** /**
* Method can be used to detect user changes in location services settings. * Method can be used to detect user changes in location services settings.