Merge branch 'master' into v5

This commit is contained in:
Daniel
2018-06-22 18:13:47 +02:00
parent f7afd1f066
commit f3ef2a877d
31 changed files with 815 additions and 117 deletions
@@ -476,14 +476,13 @@ export class BackgroundGeolocation extends IonicNativePlugin {
* Method can be used to detect user changes in location services settings.
* If user enable or disable location services then success callback will be executed.
* In case or error (SettingNotFoundException) fail callback will be executed.
* @returns {Promise<boolean>}
* @returns {Observable<number>}
*/
@Cordova({
platforms: ['Android']
platforms: ['Android'],
observable: true
})
watchLocationMode(): Promise<boolean> {
return;
}
watchLocationMode(): Observable<number> { return; }
/**
* Stop watching for location mode changes.