react-native-radar 3.20.4-beta.1 → 3.20.4-beta.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
|
@@ -18,7 +18,7 @@ android {
|
|
|
18
18
|
minSdkVersion 16
|
|
19
19
|
targetSdkVersion 31
|
|
20
20
|
versionCode 1
|
|
21
|
-
versionName '3.20.4-beta.
|
|
21
|
+
versionName '3.20.4-beta.3'
|
|
22
22
|
consumerProguardFiles 'proguard-rules.pro'
|
|
23
23
|
}
|
|
24
24
|
lintOptions {
|
|
@@ -46,6 +46,6 @@ repositories {
|
|
|
46
46
|
|
|
47
47
|
dependencies {
|
|
48
48
|
api 'com.facebook.react:react-native:+'
|
|
49
|
-
api 'io.radar:sdk:3.21.
|
|
49
|
+
api 'io.radar:sdk:3.21.4-beta.1'
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -96,7 +96,7 @@ public class RNRadarModule extends ReactContextBaseJavaModule implements Permiss
|
|
|
96
96
|
this.fraud = fraud;
|
|
97
97
|
SharedPreferences.Editor editor = getReactApplicationContext().getSharedPreferences("RadarSDK", Context.MODE_PRIVATE).edit();
|
|
98
98
|
editor.putString("x_platform_sdk_type", "ReactNative");
|
|
99
|
-
editor.putString("x_platform_sdk_version", "3.20.4-beta.
|
|
99
|
+
editor.putString("x_platform_sdk_version", "3.20.4-beta.3");
|
|
100
100
|
editor.apply();
|
|
101
101
|
if (fraud) {
|
|
102
102
|
Radar.initialize(getReactApplicationContext(), publishableKey, receiver, Radar.RadarLocationServicesProvider.GOOGLE, fraud);
|
package/dist/@types/types.d.ts
CHANGED
|
@@ -504,5 +504,6 @@ export interface RadarTrackingOptionsForegroundService {
|
|
|
504
504
|
channelName?: string;
|
|
505
505
|
iconString?: string;
|
|
506
506
|
iconColor?: string;
|
|
507
|
+
deepLink?: string;
|
|
507
508
|
}
|
|
508
509
|
export type RadarTripStatus = "unknown" | "started" | "approaching" | "arrived" | "expired" | "completed" | "canceled";
|
package/ios/RNRadar.m
CHANGED
|
@@ -102,7 +102,7 @@ RCT_EXPORT_MODULE();
|
|
|
102
102
|
|
|
103
103
|
RCT_EXPORT_METHOD(initialize:(NSString *)publishableKey fraud:(BOOL)fraud) {
|
|
104
104
|
[[NSUserDefaults standardUserDefaults] setObject:@"ReactNative" forKey:@"radar-xPlatformSDKType"];
|
|
105
|
-
[[NSUserDefaults standardUserDefaults] setObject:@"3.20.4-beta.
|
|
105
|
+
[[NSUserDefaults standardUserDefaults] setObject:@"3.20.4-beta.3" forKey:@"radar-xPlatformSDKVersion"];
|
|
106
106
|
[Radar initializeWithPublishableKey:publishableKey];
|
|
107
107
|
}
|
|
108
108
|
|
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.20.4-beta.
|
|
6
|
+
"version": "3.20.4-beta.3",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"files": [
|
|
9
9
|
"/android",
|