@woosmap/react-native-plugin-geofencing 0.5.1 → 0.6.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +9 -9
- package/android/gradle.properties +4 -4
- package/package.json +22 -20
- package/lib/commonjs/index.js +0 -429
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/internal/Airship.js +0 -25
- package/lib/commonjs/internal/Airship.js.map +0 -1
- package/lib/commonjs/internal/IndoorBeacon.js +0 -73
- package/lib/commonjs/internal/IndoorBeacon.js.map +0 -1
- package/lib/commonjs/internal/Location.js +0 -36
- package/lib/commonjs/internal/Location.js.map +0 -1
- package/lib/commonjs/internal/MarketingCloud.js +0 -25
- package/lib/commonjs/internal/MarketingCloud.js.map +0 -1
- package/lib/commonjs/internal/Poi.js +0 -62
- package/lib/commonjs/internal/Poi.js.map +0 -1
- package/lib/commonjs/internal/Region.js +0 -44
- package/lib/commonjs/internal/Region.js.map +0 -1
- package/lib/commonjs/internal/Visit.js +0 -32
- package/lib/commonjs/internal/Visit.js.map +0 -1
- package/lib/commonjs/internal/Zoi.js +0 -57
- package/lib/commonjs/internal/Zoi.js.map +0 -1
- package/lib/commonjs/internal/nativeInterface.js +0 -13
- package/lib/commonjs/internal/nativeInterface.js.map +0 -1
- package/lib/commonjs/internal/types.js +0 -2
- package/lib/commonjs/internal/types.js.map +0 -1
- package/lib/module/index.js +0 -422
- package/lib/module/index.js.map +0 -1
- package/lib/module/internal/Airship.js +0 -23
- package/lib/module/internal/Airship.js.map +0 -1
- package/lib/module/internal/IndoorBeacon.js +0 -67
- package/lib/module/internal/IndoorBeacon.js.map +0 -1
- package/lib/module/internal/Location.js +0 -30
- package/lib/module/internal/Location.js.map +0 -1
- package/lib/module/internal/MarketingCloud.js +0 -23
- package/lib/module/internal/MarketingCloud.js.map +0 -1
- package/lib/module/internal/Poi.js +0 -56
- package/lib/module/internal/Poi.js.map +0 -1
- package/lib/module/internal/Region.js +0 -38
- package/lib/module/internal/Region.js.map +0 -1
- package/lib/module/internal/Visit.js +0 -30
- package/lib/module/internal/Visit.js.map +0 -1
- package/lib/module/internal/Zoi.js +0 -55
- package/lib/module/internal/Zoi.js.map +0 -1
- package/lib/module/internal/nativeInterface.js +0 -7
- package/lib/module/internal/nativeInterface.js.map +0 -1
- package/lib/module/internal/types.js +0 -2
- package/lib/module/internal/types.js.map +0 -1
- package/lib/typescript/src/index.d.ts +0 -191
- package/lib/typescript/src/index.d.ts.map +0 -1
- package/lib/typescript/src/internal/Airship.d.ts +0 -19
- package/lib/typescript/src/internal/Airship.d.ts.map +0 -1
- package/lib/typescript/src/internal/IndoorBeacon.d.ts +0 -50
- package/lib/typescript/src/internal/IndoorBeacon.d.ts.map +0 -1
- package/lib/typescript/src/internal/Location.d.ts +0 -27
- package/lib/typescript/src/internal/Location.d.ts.map +0 -1
- package/lib/typescript/src/internal/MarketingCloud.d.ts +0 -19
- package/lib/typescript/src/internal/MarketingCloud.d.ts.map +0 -1
- package/lib/typescript/src/internal/Poi.d.ts +0 -52
- package/lib/typescript/src/internal/Poi.d.ts.map +0 -1
- package/lib/typescript/src/internal/Region.d.ts +0 -35
- package/lib/typescript/src/internal/Region.d.ts.map +0 -1
- package/lib/typescript/src/internal/Visit.d.ts +0 -26
- package/lib/typescript/src/internal/Visit.d.ts.map +0 -1
- package/lib/typescript/src/internal/Zoi.d.ts +0 -50
- package/lib/typescript/src/internal/Zoi.d.ts.map +0 -1
- package/lib/typescript/src/internal/nativeInterface.d.ts +0 -3
- package/lib/typescript/src/internal/nativeInterface.d.ts.map +0 -1
- package/lib/typescript/src/internal/types.d.ts +0 -19
- package/lib/typescript/src/internal/types.d.ts.map +0 -1
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @classdesc A class that represents the Zones of Interest (ZOI) object.
|
|
3
|
-
* @constructs Zoi
|
|
4
|
-
* @param {number} accumulator Represents the number of visits used to build the ZOI (only for calculation of ZOI)
|
|
5
|
-
* @param {number} age Age is used to determine if a ZOI should be deleted by the algorithm (only for calculation of ZOI)
|
|
6
|
-
* @param {number} covariance_det The covariance determinant (only for calculation of ZOI)
|
|
7
|
-
* @param {number} duration The duration of all the accumulated visits of the ZOI
|
|
8
|
-
* @param {number} endtime The exit date of the last ZOI visit
|
|
9
|
-
* @param {string[]} idvisits The list of id visits included in this ZOI
|
|
10
|
-
* @param {number} latmean The latitude of the center of the ZOI
|
|
11
|
-
* @param {number} lngmean The longitude of the center of the ZOI
|
|
12
|
-
* @param {string} period The classification of the period (HOME, WORK, OTHER or NO QUALIFIER)
|
|
13
|
-
* @param {number} prior_probability Estimation of probability (only for calculation of ZOI)
|
|
14
|
-
* @param {number} starttime The entry date for the first ZOI visit
|
|
15
|
-
* @param {number} weekly_density The weekly density of the ZOI visit (only for classification of ZOI)
|
|
16
|
-
* @param {string} wktpolygon This is the Well-known text representation of geometry of the ZOI polygon.
|
|
17
|
-
* @param {number} x00covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
|
|
18
|
-
* @param {number} x01covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
|
|
19
|
-
* @param {number} x10covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
|
|
20
|
-
* @param {number} x11covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
|
|
21
|
-
|
|
22
|
-
*/
|
|
23
|
-
declare class Zoi {
|
|
24
|
-
Accumulator: number;
|
|
25
|
-
Age: number;
|
|
26
|
-
Covariance_Det: number;
|
|
27
|
-
Duration: number;
|
|
28
|
-
Endtime: number;
|
|
29
|
-
Idvisits: string[];
|
|
30
|
-
Latmean: number;
|
|
31
|
-
Lngmean: number;
|
|
32
|
-
Period: string;
|
|
33
|
-
Prior_Probability: number;
|
|
34
|
-
Starttime: number;
|
|
35
|
-
Weekly_Density: number;
|
|
36
|
-
X00Covariance_Matrix_Inverse: number;
|
|
37
|
-
X01Covariance_Matrix_Inverse: number;
|
|
38
|
-
X10Covariance_Matrix_Inverse: number;
|
|
39
|
-
X11Covariance_Matrix_Inverse: number;
|
|
40
|
-
Wktpolygon: string;
|
|
41
|
-
constructor(accumulator: number, age: number, covariance_det: number, duration: number, endtime: number, idvisits: string[], latmean: number, lngmean: number, period: string, prior_probability: number, starttime: number, weekly_density: number, wktpolygon: string, x00covariance_matrix_inverse: number, x01covariance_matrix_inverse: number, x10covariance_matrix_inverse: number, x11covariance_matrix_inverse: number);
|
|
42
|
-
/**
|
|
43
|
-
* Converts json object to an object of type Zoi.
|
|
44
|
-
* @param {Object} json The json representation of the Zoi.
|
|
45
|
-
* @returns Object
|
|
46
|
-
* @memberof Zoi
|
|
47
|
-
*/
|
|
48
|
-
static jsonToObj(json: any): Zoi;
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=Zoi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Zoi.d.ts","sourceRoot":"","sources":["../../../../src/internal/Zoi.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,cAAM,GAAG;IACP,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,4BAA4B,EAAE,MAAM,CAAC;IACrC,4BAA4B,EAAE,MAAM,CAAC;IACrC,4BAA4B,EAAE,MAAM,CAAC;IACrC,4BAA4B,EAAE,MAAM,CAAC;IACrC,UAAU,EAAE,MAAM,CAAC;gBAEjB,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,MAAM,EACtB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAAE,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,4BAA4B,EAAE,MAAM,EACpC,4BAA4B,EAAE,MAAM,EACpC,4BAA4B,EAAE,MAAM,EACpC,4BAA4B,EAAE,MAAM;IAqBtC;;;;;OAKG;IACH,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,GAAG;CAqB3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nativeInterface.d.ts","sourceRoot":"","sources":["../../../../src/internal/nativeInterface.tsx"],"names":[],"mappings":"AACA,QAAA,IAAI,gBAAgB,KAAiC,CAAC;AAMtD,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Geofence region types
|
|
3
|
-
*/
|
|
4
|
-
export type RegionType = 'circle' | 'isochrone';
|
|
5
|
-
/**
|
|
6
|
-
* Location of custom profile to fetch
|
|
7
|
-
*/
|
|
8
|
-
export type ProfileSource = 'local' | 'external';
|
|
9
|
-
/**
|
|
10
|
-
* GeofenceRegion structure
|
|
11
|
-
*/
|
|
12
|
-
export interface GeofenceRegion {
|
|
13
|
-
regionId: string;
|
|
14
|
-
lat: number;
|
|
15
|
-
lng: number;
|
|
16
|
-
radius: number;
|
|
17
|
-
type: RegionType;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/internal/types.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,WAAW,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,UAAU,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,UAAU,CAAC;CAClB"}
|