react-native-radar 3.10.2-beta.1 → 3.10.2-beta.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/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.1",
6
+ "version": "3.10.2-beta.2",
7
7
  "main": "dist/src/index.js",
8
8
  "files": [
9
9
  "android",
@@ -318,7 +318,7 @@ export declare enum RadarEventConfidence {
318
318
  high = 3
319
319
  }
320
320
  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" | "medium" | "low" | "none";
321
+ export type RadarTrackingOptionsDesiredAccuracy = "high" | "mediumHigh" | "medium" | "low" | "none";
322
322
  export declare enum RadarEventVerification {
323
323
  accept = 1,
324
324
  unverify = 0,
package/ios/RNRadar.m CHANGED
@@ -206,6 +206,8 @@ 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;
209
211
  } else if ([lowerAccuracy isEqualToString:@"medium"]) {
210
212
  accuracy = RadarTrackingOptionsDesiredAccuracyMedium;
211
213
  } 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.1",
6
+ "version": "3.10.2-beta.2",
7
7
  "main": "dist/src/index.js",
8
8
  "files": [
9
9
  "android",
@@ -429,6 +429,7 @@ export type RadarEventType =
429
429
 
430
430
  export type RadarTrackingOptionsDesiredAccuracy =
431
431
  | "high"
432
+ | "mediumHigh"
432
433
  | "medium"
433
434
  | "low"
434
435
  | "none";