Skip to content

Commit

Permalink
feat(BackgroundGeolocation): Update to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Roring authored and Christian Roring committed Sep 20, 2016
1 parent 919e8da commit 808a75e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/plugins/background-geolocation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

/**
Expand All @@ -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
};

/**

Expand All @@ -319,9 +319,9 @@ export class BackgroundGeolocation {
*
* @enum {number}

*/
static Mode: {
BACKGROUND: number,
FOREGROUND: number
static Mode: any = {
BACKGROUND: 0,
FOREGROUND: 1
};

/**
Expand Down

0 comments on commit 808a75e

Please sign in to comment.