react-native-radar 3.10.2-beta.2 → 3.10.2
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 +1 -1
- package/dist/package.json +1 -1
- package/dist/src/@types/types.d.ts +1 -3
- package/ios/RNRadar.m +0 -2
- package/package.json +1 -1
- package/src/@types/types.ts +0 -3
package/android/build.gradle
CHANGED
package/dist/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "React Native module for Radar, the leading geofencing and location tracking platform",
|
|
4
4
|
"homepage": "https://radar.com",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
-
"version": "3.10.2
|
|
6
|
+
"version": "3.10.2",
|
|
7
7
|
"main": "dist/src/index.js",
|
|
8
8
|
"files": [
|
|
9
9
|
"android",
|
|
@@ -20,8 +20,6 @@ export interface RadarTrackingOptions {
|
|
|
20
20
|
desiredAccuracy: RadarTrackingOptionsDesiredAccuracy;
|
|
21
21
|
stopDuration: number;
|
|
22
22
|
stopDistance: number;
|
|
23
|
-
rampUpRadius?: number;
|
|
24
|
-
rampedUpInterval?: number;
|
|
25
23
|
sync: "all" | "stopsAndExits" | "none";
|
|
26
24
|
replay: "all" | "stops" | "none";
|
|
27
25
|
useStoppedGeofence: boolean;
|
|
@@ -318,7 +316,7 @@ export declare enum RadarEventConfidence {
|
|
|
318
316
|
high = 3
|
|
319
317
|
}
|
|
320
318
|
export type RadarEventType = "unknown" | "user.entered_geofence" | "user.entered_beacon" | "user.dwelled_in_geofence" | "user.entered_place" | "user.entered_region_country" | "user.entered_region_dma" | "user.entered_region_state" | "user.entered_region_postal_code" | "user.exited_geofence" | "user.exited_beacon" | "user.exited_place" | "user.exited_region_country" | "user.exited_region_dma" | "user.exited_region_state" | "user.exited_region_postal_code" | "user.nearby_place_chain" | "user.started_trip" | "user.updated_trip" | "user.approaching_trip_destination" | "user.arrived_at_trip_destination" | "user.stopped_trip";
|
|
321
|
-
export type RadarTrackingOptionsDesiredAccuracy = "high" | "
|
|
319
|
+
export type RadarTrackingOptionsDesiredAccuracy = "high" | "medium" | "low" | "none";
|
|
322
320
|
export declare enum RadarEventVerification {
|
|
323
321
|
accept = 1,
|
|
324
322
|
unverify = 0,
|
package/ios/RNRadar.m
CHANGED
|
@@ -206,8 +206,6 @@ RCT_EXPORT_METHOD(getLocation:(NSString *)desiredAccuracy resolve:(RCTPromiseRes
|
|
|
206
206
|
NSString *lowerAccuracy = [desiredAccuracy lowercaseString];
|
|
207
207
|
if ([lowerAccuracy isEqualToString:@"high"]) {
|
|
208
208
|
accuracy = RadarTrackingOptionsDesiredAccuracyHigh;
|
|
209
|
-
} else if ([lowerAccuracy isEqualToString:@"mediumhigh"]) {
|
|
210
|
-
accuracy = RadarTrackingOptionsDesiredAccuracyMediumHigh;
|
|
211
209
|
} else if ([lowerAccuracy isEqualToString:@"medium"]) {
|
|
212
210
|
accuracy = RadarTrackingOptionsDesiredAccuracyMedium;
|
|
213
211
|
} else if ([lowerAccuracy isEqualToString:@"low"]) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "React Native module for Radar, the leading geofencing and location tracking platform",
|
|
4
4
|
"homepage": "https://radar.com",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
-
"version": "3.10.2
|
|
6
|
+
"version": "3.10.2",
|
|
7
7
|
"main": "dist/src/index.js",
|
|
8
8
|
"files": [
|
|
9
9
|
"android",
|
package/src/@types/types.ts
CHANGED
|
@@ -23,8 +23,6 @@ export interface RadarTrackingOptions {
|
|
|
23
23
|
desiredAccuracy: RadarTrackingOptionsDesiredAccuracy;
|
|
24
24
|
stopDuration: number;
|
|
25
25
|
stopDistance: number;
|
|
26
|
-
rampUpRadius?: number;
|
|
27
|
-
rampedUpInterval?: number;
|
|
28
26
|
sync: "all" | "stopsAndExits" | "none";
|
|
29
27
|
replay: "all" | "stops" | "none";
|
|
30
28
|
useStoppedGeofence: boolean;
|
|
@@ -429,7 +427,6 @@ export type RadarEventType =
|
|
|
429
427
|
|
|
430
428
|
export type RadarTrackingOptionsDesiredAccuracy =
|
|
431
429
|
| "high"
|
|
432
|
-
| "mediumHigh"
|
|
433
430
|
| "medium"
|
|
434
431
|
| "low"
|
|
435
432
|
| "none";
|