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.
@@ -18,7 +18,7 @@ android {
18
18
  minSdkVersion 16
19
19
  targetSdkVersion 31
20
20
  versionCode 1
21
- versionName '3.10.1'
21
+ versionName '3.10.2'
22
22
  }
23
23
  lintOptions {
24
24
  abortOnError false
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-beta.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" | "mediumHigh" | "medium" | "low" | "none";
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-beta.2",
6
+ "version": "3.10.2",
7
7
  "main": "dist/src/index.js",
8
8
  "files": [
9
9
  "android",
@@ -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";