From 808a75e41c9322de67840b725684be7fcd7de929 Mon Sep 17 00:00:00 2001 From: Christian Roring Date: Tue, 20 Sep 2016 13:07:01 +0200 Subject: [PATCH] feat(BackgroundGeolocation): Update to the latest version --- src/plugins/background-geolocation.ts | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/plugins/background-geolocation.ts b/src/plugins/background-geolocation.ts index dc3d90d6..74e57cd0 100644 --- a/src/plugins/background-geolocation.ts +++ b/src/plugins/background-geolocation.ts @@ -285,9 +285,9 @@ export class BackgroundGeolocation { * * @enum {number}
 */ - static LocationProvider: { - ANDROID_DISTANCE_FILTER_PROVIDER: number, - ANDROID_ACTIVITY_PROVIDER: number + static LocationProvider: any = { + ANDROID_DISTANCE_FILTER_PROVIDER: 0, + ANDROID_ACTIVITY_PROVIDER: 1 }; /** @@ -303,11 +303,11 @@ export class BackgroundGeolocation { * * enum {number}
 */ - static Accuracy: { - HIGH: number, - MEDIUM: number, - LOW: number, - PASSIVE: number + static Accuracy: any = { + HIGH: 0, + MEDIUM: 10, + LOW: 100, + PASSIVE: 1000 }; /**
 @@ -319,9 +319,9 @@ export class BackgroundGeolocation { * * @enum {number}
 */ - static Mode: { - BACKGROUND: number, - FOREGROUND: number + static Mode: any = { + BACKGROUND: 0, + FOREGROUND: 1 }; /**