diff --git a/src/@ionic-native/plugins/background-geolocation/index.ts b/src/@ionic-native/plugins/background-geolocation/index.ts index 99461d26e6..5fb043fcc0 100644 --- a/src/@ionic-native/plugins/background-geolocation/index.ts +++ b/src/@ionic-native/plugins/background-geolocation/index.ts @@ -459,12 +459,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} + * @returns {Observable} */ @Cordova({ - platforms: ['Android'] + platforms: ['Android'], + observable: true }) - watchLocationMode(): Promise { return; } + watchLocationMode(): Observable { return; } /** * Stop watching for location mode changes.