react-native-radar 3.10.6-beta.2 → 3.10.6

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.6-beta.2'
21
+ versionName '3.10.6'
22
22
  }
23
23
  lintOptions {
24
24
  abortOnError false
@@ -45,5 +45,5 @@ repositories {
45
45
 
46
46
  dependencies {
47
47
  api 'com.facebook.react:react-native:+'
48
- api 'io.radar:sdk:3.9.7'
48
+ api 'io.radar:sdk:3.9.8'
49
49
  }
@@ -95,7 +95,7 @@ public class RNRadarModule extends ReactContextBaseJavaModule implements Permiss
95
95
  this.fraud = fraud;
96
96
  SharedPreferences.Editor editor = getReactApplicationContext().getSharedPreferences("RadarSDK", Context.MODE_PRIVATE).edit();
97
97
  editor.putString("x_platform_sdk_type", "ReactNative");
98
- editor.putString("x_platform_sdk_version", "3.10.6-beta.2");
98
+ editor.putString("x_platform_sdk_version", "3.10.6");
99
99
  editor.apply();
100
100
  if (fraud) {
101
101
  Radar.initialize(getReactApplicationContext(), publishableKey, receiver, Radar.RadarLocationServicesProvider.GOOGLE, fraud);
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.6-beta.2",
6
+ "version": "3.10.6",
7
7
  "main": "dist/src/index.js",
8
8
  "files": [
9
9
  "android",
@@ -330,7 +330,7 @@ export declare enum RadarEventConfidence {
330
330
  medium = 2,
331
331
  high = 3
332
332
  }
333
- 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" | "user.arrived_at_wrong_trip_destination" | "user.failed_fraud" | "user.delayed_during_trip";
333
+ 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" | "user.arrived_at_wrong_trip_destination" | "user.delayed_during_trip" | "user.failed_fraud";
334
334
  export type RadarTrackingOptionsDesiredAccuracy = "high" | "medium" | "low" | "none";
335
335
  export declare enum RadarEventVerification {
336
336
  accept = 1,
package/ios/RNRadar.m CHANGED
@@ -100,7 +100,7 @@ RCT_EXPORT_MODULE();
100
100
 
101
101
  RCT_EXPORT_METHOD(initialize:(NSString *)publishableKey fraud:(BOOL)fraud) {
102
102
  [[NSUserDefaults standardUserDefaults] setObject:@"ReactNative" forKey:@"radar-xPlatformSDKType"];
103
- [[NSUserDefaults standardUserDefaults] setObject:@"3.10.6-beta.2" forKey:@"radar-xPlatformSDKVersion"];
103
+ [[NSUserDefaults standardUserDefaults] setObject:@"3.10.6" forKey:@"radar-xPlatformSDKVersion"];
104
104
  [Radar initializeWithPublishableKey:publishableKey];
105
105
  }
106
106
 
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.6-beta.2",
6
+ "version": "3.10.6",
7
7
  "main": "dist/src/index.js",
8
8
  "files": [
9
9
  "android",
@@ -578,9 +578,8 @@ export type RadarEventType =
578
578
  | "user.arrived_at_trip_destination"
579
579
  | "user.stopped_trip"
580
580
  | "user.arrived_at_wrong_trip_destination"
581
- | "user.failed_fraud"
582
- | "user.delayed_during_trip";
583
-
581
+ | "user.delayed_during_trip"
582
+ | "user.failed_fraud";
584
583
 
585
584
  export type RadarTrackingOptionsDesiredAccuracy =
586
585
  | "high"