react-native-radar 3.8.12-beta.1 → 3.8.13
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.8.
|
|
21
|
+
versionName '3.8.13'
|
|
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.8.
|
|
48
|
+
api 'io.radar:sdk:3.8.14'
|
|
49
49
|
}
|
|
@@ -434,11 +434,6 @@ public class RNRadarModule extends ReactContextBaseJavaModule implements Permiss
|
|
|
434
434
|
Radar.startTracking(RadarTrackingOptions.CONTINUOUS);
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
-
@ReactMethod
|
|
438
|
-
public void startTrackingVerified(boolean token) {
|
|
439
|
-
//not implemented
|
|
440
|
-
}
|
|
441
|
-
|
|
442
437
|
@ReactMethod
|
|
443
438
|
public void startTrackingCustom(ReadableMap optionsMap) {
|
|
444
439
|
try {
|
package/ios/Cartfile.resolved
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
github "radarlabs/radar-sdk-ios" "3.8.
|
|
1
|
+
github "radarlabs/radar-sdk-ios" "3.8.9"
|
package/ios/RNRadar.m
CHANGED
|
@@ -16,7 +16,6 @@ RCT_EXPORT_MODULE();
|
|
|
16
16
|
self = [super init];
|
|
17
17
|
if (self) {
|
|
18
18
|
[Radar setDelegate:self];
|
|
19
|
-
[Radar setVerifiedDelegate:self];
|
|
20
19
|
locationManager = [CLLocationManager new];
|
|
21
20
|
locationManager.delegate = self;
|
|
22
21
|
}
|
|
@@ -39,7 +38,7 @@ RCT_EXPORT_MODULE();
|
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
- (NSArray<NSString *> *)supportedEvents {
|
|
42
|
-
return @[@"events", @"location", @"clientLocation", @"error", @"log"
|
|
41
|
+
return @[@"events", @"location", @"clientLocation", @"error", @"log"];
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
- (void)startObserving {
|
|
@@ -92,12 +91,6 @@ RCT_EXPORT_MODULE();
|
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
93
|
|
|
95
|
-
- (void)didUpdateToken:(NSString *)token {
|
|
96
|
-
if(hasListeners) {
|
|
97
|
-
[self sendEventWithName:@"token" body:token];
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
94
|
RCT_EXPORT_METHOD(initialize:(NSString *)publishableKey fraud:(BOOL)fraud) {
|
|
102
95
|
[Radar initializeWithPublishableKey:publishableKey];
|
|
103
96
|
}
|
|
@@ -364,10 +357,6 @@ RCT_EXPORT_METHOD(startTrackingContinuous) {
|
|
|
364
357
|
[Radar startTrackingWithOptions:RadarTrackingOptions.presetContinuous];
|
|
365
358
|
}
|
|
366
359
|
|
|
367
|
-
RCT_EXPORT_METHOD(startTrackingVerified:(BOOL)token) {
|
|
368
|
-
[Radar startTrackingVerified:token];
|
|
369
|
-
}
|
|
370
|
-
|
|
371
360
|
RCT_EXPORT_METHOD(startTrackingCustom:(NSDictionary *)optionsDict) {
|
|
372
361
|
RadarTrackingOptions *options = [RadarTrackingOptions trackingOptionsFromDictionary:optionsDict];
|
|
373
362
|
[Radar startTrackingWithOptions:options];
|
package/js/index.native.js
CHANGED
|
@@ -91,10 +91,6 @@ const startTrackingCustom = options => (
|
|
|
91
91
|
NativeModules.RNRadar.startTrackingCustom(options)
|
|
92
92
|
);
|
|
93
93
|
|
|
94
|
-
const startTrackingVerified = token => (
|
|
95
|
-
NativeModules.RNRadar.startTrackingVerified(token)
|
|
96
|
-
);
|
|
97
|
-
|
|
98
94
|
const mockTracking = options => (
|
|
99
95
|
NativeModules.RNRadar.mockTracking(options)
|
|
100
96
|
);
|
|
@@ -226,7 +222,6 @@ const Radar = {
|
|
|
226
222
|
trackOnce,
|
|
227
223
|
trackVerified,
|
|
228
224
|
trackVerifiedToken,
|
|
229
|
-
startTrackingVerified,
|
|
230
225
|
startTrackingEfficient,
|
|
231
226
|
startTrackingResponsive,
|
|
232
227
|
startTrackingContinuous,
|
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.8.
|
|
6
|
+
"version": "3.8.13",
|
|
7
7
|
"main": "js/index.js",
|
|
8
8
|
"files": [
|
|
9
9
|
"android",
|