react-native-radar 3.9.2 → 3.9.3
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
CHANGED
|
@@ -2,6 +2,8 @@ package io.radar.react;
|
|
|
2
2
|
|
|
3
3
|
import android.Manifest;
|
|
4
4
|
import android.app.Activity;
|
|
5
|
+
import android.content.Context;
|
|
6
|
+
import android.content.SharedPreferences;
|
|
5
7
|
import android.content.pm.PackageManager;
|
|
6
8
|
import android.location.Location;
|
|
7
9
|
import android.os.Build;
|
|
@@ -93,7 +95,7 @@ public class RNRadarModule extends ReactContextBaseJavaModule implements Permiss
|
|
|
93
95
|
this.fraud = fraud;
|
|
94
96
|
SharedPreferences.Editor editor = getReactApplicationContext().getSharedPreferences("RadarSDK", Context.MODE_PRIVATE).edit();
|
|
95
97
|
editor.putString("x_platform_sdk_type", "ReactNative");
|
|
96
|
-
editor.putString("x_platform_sdk_version", "3.9.
|
|
98
|
+
editor.putString("x_platform_sdk_version", "3.9.3");
|
|
97
99
|
editor.apply();
|
|
98
100
|
|
|
99
101
|
if (fraud) {
|
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.9.
|
|
103
|
+
[[NSUserDefaults standardUserDefaults] setObject:@"3.9.3" forKey:@"radar-xPlatformSDKVersion"];
|
|
104
104
|
[Radar initializeWithPublishableKey:publishableKey];
|
|
105
105
|
}
|
|
106
106
|
|
package/package.json
CHANGED