Skip to content

Commit

Permalink
feat(background-geolocation): add showAppSettings function
Browse files Browse the repository at this point in the history
closes #548
  • Loading branch information
ihadeed authored Sep 19, 2016
1 parent 42d1bbc commit 281575b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/plugins/background-geolocation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,17 @@ export class BackgroundGeolocation {
@Cordova()
static isLocationEnabled(): Promise<number> { return; }

/**
* Display app settings to change permissions
*/
@Cordova({ sync: true })
static showAppSettings(): void { }

/**
* Display device location settings
*/
@Cordova()
static showLocationSettings() { }
@Cordova({ sync: true })
static showLocationSettings(): void { }

/**
* Method can be used to detect user changes in location services settings.
Expand Down

0 comments on commit 281575b

Please sign in to comment.