react-native-radar 4.2.0 → 4.3.0

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.
Files changed (41) hide show
  1. package/README.md +5 -2
  2. package/android/build.gradle +1 -1
  3. package/android/src/newarch/java/com/radar/RadarModule.kt +2 -2
  4. package/android/src/oldarch/java/com/radar/RadarModule.java +2 -2
  5. package/dist/@types/types.d.ts +2 -0
  6. package/dist/version.d.ts +1 -1
  7. package/dist/version.js +1 -1
  8. package/ios/RNRadar.mm +2 -2
  9. package/ios/RadarSDK.xcframework/Info.plist +5 -5
  10. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarSDK-Swift.h +1 -4
  11. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarSdkConfiguration.h +5 -0
  12. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarTrackingOptions.h +10 -0
  13. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Info.plist +0 -0
  14. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.abi.json +35 -79
  15. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -4
  16. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  17. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.swiftinterface +2 -4
  18. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/RadarSDK +0 -0
  19. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarSDK-Swift.h +2 -8
  20. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarSdkConfiguration.h +5 -0
  21. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarTrackingOptions.h +10 -0
  22. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Info.plist +0 -0
  23. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +35 -79
  24. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -4
  25. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  26. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -4
  27. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +35 -79
  28. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -4
  29. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  30. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -4
  31. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/RadarSDK +0 -0
  32. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/_CodeSignature/CodeDirectory +0 -0
  33. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/_CodeSignature/CodeResources +27 -27
  34. package/ios/RadarSDKMotion.xcframework/Info.plist +5 -5
  35. package/ios/RadarSDKMotion.xcframework/ios-arm64/RadarSDKMotion.framework/Info.plist +0 -0
  36. package/ios/RadarSDKMotion.xcframework/ios-arm64_x86_64-simulator/RadarSDKMotion.framework/Info.plist +0 -0
  37. package/ios/RadarSDKMotion.xcframework/ios-arm64_x86_64-simulator/RadarSDKMotion.framework/_CodeSignature/CodeDirectory +0 -0
  38. package/ios/RadarSDKMotion.xcframework/ios-arm64_x86_64-simulator/RadarSDKMotion.framework/_CodeSignature/CodeResources +1 -1
  39. package/package.json +4 -4
  40. package/src/@types/types.ts +2 -0
  41. package/src/version.ts +1 -1
package/README.md CHANGED
@@ -22,11 +22,14 @@ Android: compile with java 17
22
22
 
23
23
  To run example app with local `react-native-radar` dependency:
24
24
 
25
- - install node dependencies with `npm ci` and typescript if needed with `npm install -g typescript`.
25
+ - install node dependencies with `npm ci`
26
+ - optionally:
27
+ - `npm run setup` for file watching on OSX
28
+ - `npm install -g typescript` for typescript
26
29
  - build local `react-native-radar` with `npm run build-all`.
27
30
  - navigate to the example dir with `cd example`.
28
31
  - install node dependency of example with `npm ci`.
29
- - build native app using expo pre-build and `react-native-plugin` with `npm run install-radar-rebuild`.
32
+ - build native app using expo pre-build and `react-native-plugin` with `npm run install-radar-rebuild`.
30
33
  - run iOS and android example app with `npx expo run:ios` or `npx expo run:android`.
31
34
 
32
35
 
@@ -1,4 +1,4 @@
1
- def radar_sdk_version = '3.30.0'
1
+ def radar_sdk_version = '3.31.0'
2
2
 
3
3
  buildscript {
4
4
  ext.getExtOrDefault = {name ->
@@ -143,7 +143,7 @@ class RadarModule(reactContext: ReactApplicationContext) :
143
143
  override fun initialize(publishableKey: String, fraud: Boolean, options: ReadableMap?): Unit {
144
144
  val editor = reactApplicationContext.getSharedPreferences("RadarSDK", Context.MODE_PRIVATE).edit()
145
145
  editor.putString("x_platform_sdk_type", "ReactNative")
146
- editor.putString("x_platform_sdk_version", "4.2.0")
146
+ editor.putString("x_platform_sdk_version", "4.3.0")
147
147
  editor.apply()
148
148
 
149
149
  Radar.initialize(reactApplicationContext, publishableKey, radarReceiver, Radar.RadarLocationServicesProvider.GOOGLE, fraud, null, radarInAppMessageReceiver, currentActivity)
@@ -155,7 +155,7 @@ class RadarModule(reactContext: ReactApplicationContext) :
155
155
  override fun initializeWithAuthToken(authToken: String, fraud: Boolean, options: ReadableMap?): Unit {
156
156
  val editor = reactApplicationContext.getSharedPreferences("RadarSDK", Context.MODE_PRIVATE).edit()
157
157
  editor.putString("x_platform_sdk_type", "ReactNative")
158
- editor.putString("x_platform_sdk_version", "4.2.0")
158
+ editor.putString("x_platform_sdk_version", "4.3.0")
159
159
  editor.apply()
160
160
 
161
161
  val initOptions = io.radar.sdk.RadarInitializeOptions.builder()
@@ -102,7 +102,7 @@ public class RadarModule extends ReactContextBaseJavaModule implements Permissio
102
102
  this.fraud = fraud;
103
103
  SharedPreferences.Editor editor = getReactApplicationContext().getSharedPreferences("RadarSDK", Context.MODE_PRIVATE).edit();
104
104
  editor.putString("x_platform_sdk_type", "ReactNative");
105
- editor.putString("x_platform_sdk_version", "4.2.0");
105
+ editor.putString("x_platform_sdk_version", "4.3.0");
106
106
  editor.apply();
107
107
  Radar.initialize(getReactApplicationContext(), publishableKey, receiver, Radar.RadarLocationServicesProvider.GOOGLE, fraud, null, inAppMessageReceiver, getCurrentActivity());
108
108
  if (fraud) {
@@ -115,7 +115,7 @@ public class RadarModule extends ReactContextBaseJavaModule implements Permissio
115
115
  this.fraud = fraud;
116
116
  SharedPreferences.Editor editor = getReactApplicationContext().getSharedPreferences("RadarSDK", Context.MODE_PRIVATE).edit();
117
117
  editor.putString("x_platform_sdk_type", "ReactNative");
118
- editor.putString("x_platform_sdk_version", "4.2.0");
118
+ editor.putString("x_platform_sdk_version", "4.3.0");
119
119
  editor.apply();
120
120
 
121
121
  io.radar.sdk.RadarInitializeOptions.Builder builder = io.radar.sdk.RadarInitializeOptions.builder()
@@ -41,6 +41,8 @@ export interface RadarTrackingOptions {
41
41
  beacons: boolean;
42
42
  syncGeofencesLimit?: number;
43
43
  foregroundServiceEnabled?: boolean;
44
+ batchInterval?: number;
45
+ batchSize?: number;
44
46
  }
45
47
  export declare const presetContinuousIOS: RadarTrackingOptions;
46
48
  export declare const presetContinuousAndroid: RadarTrackingOptions;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "4.2.0";
1
+ export declare const VERSION = "4.3.0";
package/dist/version.js CHANGED
@@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // This file contains the version of the react-native-radar package
5
5
  // It should be updated to match the version in package.json
6
- exports.VERSION = '4.2.0';
6
+ exports.VERSION = '4.3.0';
package/ios/RNRadar.mm CHANGED
@@ -217,7 +217,7 @@ RCT_EXPORT_MODULE()
217
217
  RCT_EXPORT_METHOD(initialize:(NSString *)publishableKey fraud:(BOOL)fraud options:(NSDictionary *)options) {
218
218
  _publishableKey = publishableKey;
219
219
  [[NSUserDefaults standardUserDefaults] setObject:@"ReactNative" forKey:@"radar-xPlatformSDKType"];
220
- [[NSUserDefaults standardUserDefaults] setObject:@"4.2.0" forKey:@"radar-xPlatformSDKVersion"];
220
+ [[NSUserDefaults standardUserDefaults] setObject:@"4.3.0" forKey:@"radar-xPlatformSDKVersion"];
221
221
 
222
222
  RadarInitializeOptions *radarOptions = [[RadarInitializeOptions alloc] init];
223
223
  if (options != nil) {
@@ -240,7 +240,7 @@ RCT_EXPORT_METHOD(initialize:(NSString *)publishableKey fraud:(BOOL)fraud option
240
240
  RCT_EXPORT_METHOD(initializeWithAuthToken:(NSString *)authToken fraud:(BOOL)fraud options:(NSDictionary *)options) {
241
241
  _publishableKey = nil;
242
242
  [[NSUserDefaults standardUserDefaults] setObject:@"ReactNative" forKey:@"radar-xPlatformSDKType"];
243
- [[NSUserDefaults standardUserDefaults] setObject:@"4.2.0" forKey:@"radar-xPlatformSDKVersion"];
243
+ [[NSUserDefaults standardUserDefaults] setObject:@"4.3.0" forKey:@"radar-xPlatformSDKVersion"];
244
244
  RadarInitializeOptions *radarOptions = [[RadarInitializeOptions alloc] init];
245
245
  if (options != nil) {
246
246
  id silentPushValue = options[@"silentPush"];
@@ -8,32 +8,32 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>RadarSDK.framework/RadarSDK</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64_x86_64-simulator</string>
11
+ <string>ios-arm64</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>RadarSDK.framework</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
- <string>x86_64</string>
18
17
  </array>
19
18
  <key>SupportedPlatform</key>
20
19
  <string>ios</string>
21
- <key>SupportedPlatformVariant</key>
22
- <string>simulator</string>
23
20
  </dict>
24
21
  <dict>
25
22
  <key>BinaryPath</key>
26
23
  <string>RadarSDK.framework/RadarSDK</string>
27
24
  <key>LibraryIdentifier</key>
28
- <string>ios-arm64</string>
25
+ <string>ios-arm64_x86_64-simulator</string>
29
26
  <key>LibraryPath</key>
30
27
  <string>RadarSDK.framework</string>
31
28
  <key>SupportedArchitectures</key>
32
29
  <array>
33
30
  <string>arm64</string>
31
+ <string>x86_64</string>
34
32
  </array>
35
33
  <key>SupportedPlatform</key>
36
34
  <string>ios</string>
35
+ <key>SupportedPlatformVariant</key>
36
+ <string>simulator</string>
37
37
  </dict>
38
38
  </array>
39
39
  <key>CFBundlePackageType</key>
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
3
+ // Generated by Apple Swift version 6.3.1 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
4
4
  #ifndef RADARSDK_SWIFT_H
5
5
  #define RADARSDK_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -419,7 +419,6 @@ SWIFT_CLASS_NAMED("RadarLogger")
419
419
  @class CLLocation;
420
420
  @class RadarTrackingOptions;
421
421
  @class RadarUser;
422
- @class CLCircularRegion;
423
422
  @class RadarBeacon;
424
423
  SWIFT_CLASS_NAMED("RadarSyncManager")
425
424
  @interface RadarSyncManager : NSObject
@@ -438,8 +437,6 @@ SWIFT_CLASS_NAMED("RadarSyncManager")
438
437
  + (void)saveBeaconStateWithBeaconIds:(NSArray<NSString *> * _Nonnull)beaconIds;
439
438
  + (void)rollbackSyncState;
440
439
  + (void)markDwellFired:(NSString * _Nonnull)geofenceId;
441
- + (CLCircularRegion * _Nullable)getSyncedRegion SWIFT_WARN_UNUSED_RESULT;
442
- + (NSDictionary<NSString *, id> * _Nullable)getSyncedStateJSON SWIFT_WARN_UNUSED_RESULT;
443
440
  + (NSArray<RadarBeacon *> * _Nonnull)getObjCBeaconsFor:(CLLocation * _Nonnull)location SWIFT_WARN_UNUSED_RESULT;
444
441
  - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
445
442
  @end
@@ -7,6 +7,7 @@
7
7
 
8
8
  #import <Foundation/Foundation.h>
9
9
  #import "Radar.h"
10
+ @class RadarRemoteTrackingOptions;
10
11
 
11
12
  NS_ASSUME_NONNULL_BEGIN
12
13
 
@@ -33,6 +34,10 @@ NS_ASSUME_NONNULL_BEGIN
33
34
  - (BOOL)bufferGeofenceEntries;
34
35
  - (BOOL)bufferGeofenceExits;
35
36
  - (BOOL)stopDetection;
37
+ - (BOOL)skipForegroundCheck;
38
+ - (BOOL)useOfflineRTOUpdates;
39
+ - (BOOL)offlineEventGenerationEnabled;
40
+ - (NSArray<RadarRemoteTrackingOptions *> *_Nullable)remoteTrackingOptions;
36
41
  - (instancetype)initWithDict:(NSDictionary *_Nullable)dict;
37
42
  - (NSDictionary *)dictionaryValue;
38
43
  @end
@@ -181,6 +181,16 @@ typedef NS_ENUM(NSInteger, RadarTrackingOptionsType) {
181
181
  */
182
182
  @property (nonatomic, assign) BOOL usePressure;
183
183
 
184
+ /**
185
+ Determines the time interval between batch events, in seconds. Set to 0 to disable interval-based batching.
186
+ */
187
+ @property (nonatomic, assign) int batchInterval;
188
+
189
+ /**
190
+ Determines the size of each batch. Set to 0 to disable size-based batching.
191
+ */
192
+ @property (nonatomic, assign) int batchSize;
193
+
184
194
  /**
185
195
  The type of tracking options.
186
196
  */
@@ -1070,84 +1070,6 @@
1070
1070
  ],
1071
1071
  "funcSelfKind": "NonMutating"
1072
1072
  },
1073
- {
1074
- "kind": "Function",
1075
- "name": "getSyncedRegion",
1076
- "printedName": "getSyncedRegion()",
1077
- "children": [
1078
- {
1079
- "kind": "TypeNominal",
1080
- "name": "Optional",
1081
- "printedName": "CoreLocation.CLCircularRegion?",
1082
- "children": [
1083
- {
1084
- "kind": "TypeNominal",
1085
- "name": "CLCircularRegion",
1086
- "printedName": "CoreLocation.CLCircularRegion",
1087
- "usr": "c:objc(cs)CLCircularRegion"
1088
- }
1089
- ],
1090
- "usr": "s:Sq"
1091
- }
1092
- ],
1093
- "declKind": "Func",
1094
- "usr": "c:@M@RadarSDK@objc(cs)RadarSyncManager(cm)getSyncedRegion",
1095
- "mangledName": "$s8RadarSDK0A11SyncManagerC15getSyncedRegionSo010CLCircularG0CSgyFZ",
1096
- "moduleName": "RadarSDK",
1097
- "static": true,
1098
- "declAttributes": [
1099
- "Final",
1100
- "AccessControl",
1101
- "ObjC",
1102
- "RawDocComment"
1103
- ],
1104
- "funcSelfKind": "NonMutating"
1105
- },
1106
- {
1107
- "kind": "Function",
1108
- "name": "getSyncedStateJSON",
1109
- "printedName": "getSyncedStateJSON()",
1110
- "children": [
1111
- {
1112
- "kind": "TypeNominal",
1113
- "name": "Optional",
1114
- "printedName": "[Swift.String : Any]?",
1115
- "children": [
1116
- {
1117
- "kind": "TypeNominal",
1118
- "name": "Dictionary",
1119
- "printedName": "[Swift.String : Any]",
1120
- "children": [
1121
- {
1122
- "kind": "TypeNominal",
1123
- "name": "String",
1124
- "printedName": "Swift.String",
1125
- "usr": "s:SS"
1126
- },
1127
- {
1128
- "kind": "TypeNominal",
1129
- "name": "ProtocolComposition",
1130
- "printedName": "Any"
1131
- }
1132
- ],
1133
- "usr": "s:SD"
1134
- }
1135
- ],
1136
- "usr": "s:Sq"
1137
- }
1138
- ],
1139
- "declKind": "Func",
1140
- "usr": "c:@M@RadarSDK@objc(cs)RadarSyncManager(cm)getSyncedStateJSON",
1141
- "mangledName": "$s8RadarSDK0A11SyncManagerC18getSyncedStateJSONSDySSypGSgyFZ",
1142
- "moduleName": "RadarSDK",
1143
- "static": true,
1144
- "declAttributes": [
1145
- "Final",
1146
- "AccessControl",
1147
- "ObjC"
1148
- ],
1149
- "funcSelfKind": "NonMutating"
1150
- },
1151
1073
  {
1152
1074
  "kind": "Function",
1153
1075
  "name": "getObjCBeacons",
@@ -1316,6 +1238,33 @@
1316
1238
  "RawDocComment"
1317
1239
  ]
1318
1240
  },
1241
+ {
1242
+ "kind": "Import",
1243
+ "name": "CoreLocation",
1244
+ "printedName": "CoreLocation",
1245
+ "declKind": "Import",
1246
+ "moduleName": "RadarSDK"
1247
+ },
1248
+ {
1249
+ "kind": "Import",
1250
+ "name": "Foundation",
1251
+ "printedName": "Foundation",
1252
+ "declKind": "Import",
1253
+ "moduleName": "RadarSDK",
1254
+ "declAttributes": [
1255
+ "RawDocComment"
1256
+ ]
1257
+ },
1258
+ {
1259
+ "kind": "Import",
1260
+ "name": "Foundation",
1261
+ "printedName": "Foundation",
1262
+ "declKind": "Import",
1263
+ "moduleName": "RadarSDK",
1264
+ "declAttributes": [
1265
+ "RawDocComment"
1266
+ ]
1267
+ },
1319
1268
  {
1320
1269
  "kind": "Import",
1321
1270
  "name": "Foundation",
@@ -4397,6 +4346,13 @@
4397
4346
  "length": 5,
4398
4347
  "value": "false"
4399
4348
  },
4349
+ {
4350
+ "filePath": "\/tmp\/radar-static-build\/radar-sdk-ios\/RadarSDK\/RadarOfflineEventManager.swift",
4351
+ "kind": "StringLiteral",
4352
+ "offset": 342,
4353
+ "length": 30,
4354
+ "value": "\"io.radar.offlineEventManager\""
4355
+ },
4400
4356
  {
4401
4357
  "filePath": "\/tmp\/radar-static-build\/radar-sdk-ios\/RadarSDK\/RadarFileStorage.swift",
4402
4358
  "kind": "BooleanLiteral",
@@ -4927,7 +4883,7 @@
4927
4883
  "kind": "StringLiteral",
4928
4884
  "offset": 242,
4929
4885
  "length": 8,
4930
- "value": "\"3.30.0\""
4886
+ "value": "\"3.31.0\""
4931
4887
  },
4932
4888
  {
4933
4889
  "filePath": "\/tmp\/radar-static-build\/radar-sdk-ios\/RadarSDK\/RadarUtils.swift",
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
2
+ // swift-compiler-version: Apple Swift version 6.3.1 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
3
3
  // swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature DebugDescriptionMacro -module-name RadarSDK
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
5
5
  import CoreLocation
6
6
  import CoreTelephony
7
7
  import Foundation
@@ -48,8 +48,6 @@ final public class RadarAPIClient : Swift.Sendable {
48
48
  @objc public static func saveBeaconState(beaconIds: [Swift.String])
49
49
  @objc public static func rollbackSyncState()
50
50
  @objc public static func markDwellFired(_ geofenceId: Swift.String)
51
- @objc public static func getSyncedRegion() -> CoreLocation.CLCircularRegion?
52
- @objc public static func getSyncedStateJSON() -> [Swift.String : Any]?
53
51
  @objc public static func getObjCBeacons(for location: _LocationEssentials.CLLocation) -> [RadarSDK.RadarBeacon]
54
52
  @objc override dynamic public init()
55
53
  @objc deinit
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
2
+ // swift-compiler-version: Apple Swift version 6.3.1 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
3
3
  // swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature DebugDescriptionMacro -module-name RadarSDK
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
5
5
  import CoreLocation
6
6
  import CoreTelephony
7
7
  import Foundation
@@ -48,8 +48,6 @@ final public class RadarAPIClient : Swift.Sendable {
48
48
  @objc public static func saveBeaconState(beaconIds: [Swift.String])
49
49
  @objc public static func rollbackSyncState()
50
50
  @objc public static func markDwellFired(_ geofenceId: Swift.String)
51
- @objc public static func getSyncedRegion() -> CoreLocation.CLCircularRegion?
52
- @objc public static func getSyncedStateJSON() -> [Swift.String : Any]?
53
51
  @objc public static func getObjCBeacons(for location: _LocationEssentials.CLLocation) -> [RadarSDK.RadarBeacon]
54
52
  @objc override dynamic public init()
55
53
  @objc deinit
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
3
+ // Generated by Apple Swift version 6.3.1 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
4
4
  #ifndef RADARSDK_SWIFT_H
5
5
  #define RADARSDK_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -419,7 +419,6 @@ SWIFT_CLASS_NAMED("RadarLogger")
419
419
  @class CLLocation;
420
420
  @class RadarTrackingOptions;
421
421
  @class RadarUser;
422
- @class CLCircularRegion;
423
422
  @class RadarBeacon;
424
423
  SWIFT_CLASS_NAMED("RadarSyncManager")
425
424
  @interface RadarSyncManager : NSObject
@@ -438,8 +437,6 @@ SWIFT_CLASS_NAMED("RadarSyncManager")
438
437
  + (void)saveBeaconStateWithBeaconIds:(NSArray<NSString *> * _Nonnull)beaconIds;
439
438
  + (void)rollbackSyncState;
440
439
  + (void)markDwellFired:(NSString * _Nonnull)geofenceId;
441
- + (CLCircularRegion * _Nullable)getSyncedRegion SWIFT_WARN_UNUSED_RESULT;
442
- + (NSDictionary<NSString *, id> * _Nullable)getSyncedStateJSON SWIFT_WARN_UNUSED_RESULT;
443
440
  + (NSArray<RadarBeacon *> * _Nonnull)getObjCBeaconsFor:(CLLocation * _Nonnull)location SWIFT_WARN_UNUSED_RESULT;
444
441
  - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
445
442
  @end
@@ -454,7 +451,7 @@ SWIFT_CLASS_NAMED("RadarSyncManager")
454
451
  #endif
455
452
 
456
453
  #elif defined(__x86_64__) && __x86_64__
457
- // Generated by Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
454
+ // Generated by Apple Swift version 6.3.1 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
458
455
  #ifndef RADARSDK_SWIFT_H
459
456
  #define RADARSDK_SWIFT_H
460
457
  #pragma clang diagnostic push
@@ -873,7 +870,6 @@ SWIFT_CLASS_NAMED("RadarLogger")
873
870
  @class CLLocation;
874
871
  @class RadarTrackingOptions;
875
872
  @class RadarUser;
876
- @class CLCircularRegion;
877
873
  @class RadarBeacon;
878
874
  SWIFT_CLASS_NAMED("RadarSyncManager")
879
875
  @interface RadarSyncManager : NSObject
@@ -892,8 +888,6 @@ SWIFT_CLASS_NAMED("RadarSyncManager")
892
888
  + (void)saveBeaconStateWithBeaconIds:(NSArray<NSString *> * _Nonnull)beaconIds;
893
889
  + (void)rollbackSyncState;
894
890
  + (void)markDwellFired:(NSString * _Nonnull)geofenceId;
895
- + (CLCircularRegion * _Nullable)getSyncedRegion SWIFT_WARN_UNUSED_RESULT;
896
- + (NSDictionary<NSString *, id> * _Nullable)getSyncedStateJSON SWIFT_WARN_UNUSED_RESULT;
897
891
  + (NSArray<RadarBeacon *> * _Nonnull)getObjCBeaconsFor:(CLLocation * _Nonnull)location SWIFT_WARN_UNUSED_RESULT;
898
892
  - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
899
893
  @end
@@ -7,6 +7,7 @@
7
7
 
8
8
  #import <Foundation/Foundation.h>
9
9
  #import "Radar.h"
10
+ @class RadarRemoteTrackingOptions;
10
11
 
11
12
  NS_ASSUME_NONNULL_BEGIN
12
13
 
@@ -33,6 +34,10 @@ NS_ASSUME_NONNULL_BEGIN
33
34
  - (BOOL)bufferGeofenceEntries;
34
35
  - (BOOL)bufferGeofenceExits;
35
36
  - (BOOL)stopDetection;
37
+ - (BOOL)skipForegroundCheck;
38
+ - (BOOL)useOfflineRTOUpdates;
39
+ - (BOOL)offlineEventGenerationEnabled;
40
+ - (NSArray<RadarRemoteTrackingOptions *> *_Nullable)remoteTrackingOptions;
36
41
  - (instancetype)initWithDict:(NSDictionary *_Nullable)dict;
37
42
  - (NSDictionary *)dictionaryValue;
38
43
  @end
@@ -181,6 +181,16 @@ typedef NS_ENUM(NSInteger, RadarTrackingOptionsType) {
181
181
  */
182
182
  @property (nonatomic, assign) BOOL usePressure;
183
183
 
184
+ /**
185
+ Determines the time interval between batch events, in seconds. Set to 0 to disable interval-based batching.
186
+ */
187
+ @property (nonatomic, assign) int batchInterval;
188
+
189
+ /**
190
+ Determines the size of each batch. Set to 0 to disable size-based batching.
191
+ */
192
+ @property (nonatomic, assign) int batchSize;
193
+
184
194
  /**
185
195
  The type of tracking options.
186
196
  */
@@ -1070,84 +1070,6 @@
1070
1070
  ],
1071
1071
  "funcSelfKind": "NonMutating"
1072
1072
  },
1073
- {
1074
- "kind": "Function",
1075
- "name": "getSyncedRegion",
1076
- "printedName": "getSyncedRegion()",
1077
- "children": [
1078
- {
1079
- "kind": "TypeNominal",
1080
- "name": "Optional",
1081
- "printedName": "CoreLocation.CLCircularRegion?",
1082
- "children": [
1083
- {
1084
- "kind": "TypeNominal",
1085
- "name": "CLCircularRegion",
1086
- "printedName": "CoreLocation.CLCircularRegion",
1087
- "usr": "c:objc(cs)CLCircularRegion"
1088
- }
1089
- ],
1090
- "usr": "s:Sq"
1091
- }
1092
- ],
1093
- "declKind": "Func",
1094
- "usr": "c:@M@RadarSDK@objc(cs)RadarSyncManager(cm)getSyncedRegion",
1095
- "mangledName": "$s8RadarSDK0A11SyncManagerC15getSyncedRegionSo010CLCircularG0CSgyFZ",
1096
- "moduleName": "RadarSDK",
1097
- "static": true,
1098
- "declAttributes": [
1099
- "Final",
1100
- "AccessControl",
1101
- "ObjC",
1102
- "RawDocComment"
1103
- ],
1104
- "funcSelfKind": "NonMutating"
1105
- },
1106
- {
1107
- "kind": "Function",
1108
- "name": "getSyncedStateJSON",
1109
- "printedName": "getSyncedStateJSON()",
1110
- "children": [
1111
- {
1112
- "kind": "TypeNominal",
1113
- "name": "Optional",
1114
- "printedName": "[Swift.String : Any]?",
1115
- "children": [
1116
- {
1117
- "kind": "TypeNominal",
1118
- "name": "Dictionary",
1119
- "printedName": "[Swift.String : Any]",
1120
- "children": [
1121
- {
1122
- "kind": "TypeNominal",
1123
- "name": "String",
1124
- "printedName": "Swift.String",
1125
- "usr": "s:SS"
1126
- },
1127
- {
1128
- "kind": "TypeNominal",
1129
- "name": "ProtocolComposition",
1130
- "printedName": "Any"
1131
- }
1132
- ],
1133
- "usr": "s:SD"
1134
- }
1135
- ],
1136
- "usr": "s:Sq"
1137
- }
1138
- ],
1139
- "declKind": "Func",
1140
- "usr": "c:@M@RadarSDK@objc(cs)RadarSyncManager(cm)getSyncedStateJSON",
1141
- "mangledName": "$s8RadarSDK0A11SyncManagerC18getSyncedStateJSONSDySSypGSgyFZ",
1142
- "moduleName": "RadarSDK",
1143
- "static": true,
1144
- "declAttributes": [
1145
- "Final",
1146
- "AccessControl",
1147
- "ObjC"
1148
- ],
1149
- "funcSelfKind": "NonMutating"
1150
- },
1151
1073
  {
1152
1074
  "kind": "Function",
1153
1075
  "name": "getObjCBeacons",
@@ -1316,6 +1238,33 @@
1316
1238
  "RawDocComment"
1317
1239
  ]
1318
1240
  },
1241
+ {
1242
+ "kind": "Import",
1243
+ "name": "CoreLocation",
1244
+ "printedName": "CoreLocation",
1245
+ "declKind": "Import",
1246
+ "moduleName": "RadarSDK"
1247
+ },
1248
+ {
1249
+ "kind": "Import",
1250
+ "name": "Foundation",
1251
+ "printedName": "Foundation",
1252
+ "declKind": "Import",
1253
+ "moduleName": "RadarSDK",
1254
+ "declAttributes": [
1255
+ "RawDocComment"
1256
+ ]
1257
+ },
1258
+ {
1259
+ "kind": "Import",
1260
+ "name": "Foundation",
1261
+ "printedName": "Foundation",
1262
+ "declKind": "Import",
1263
+ "moduleName": "RadarSDK",
1264
+ "declAttributes": [
1265
+ "RawDocComment"
1266
+ ]
1267
+ },
1319
1268
  {
1320
1269
  "kind": "Import",
1321
1270
  "name": "Foundation",
@@ -4397,6 +4346,13 @@
4397
4346
  "length": 5,
4398
4347
  "value": "false"
4399
4348
  },
4349
+ {
4350
+ "filePath": "\/tmp\/radar-static-build\/radar-sdk-ios\/RadarSDK\/RadarOfflineEventManager.swift",
4351
+ "kind": "StringLiteral",
4352
+ "offset": 342,
4353
+ "length": 30,
4354
+ "value": "\"io.radar.offlineEventManager\""
4355
+ },
4400
4356
  {
4401
4357
  "filePath": "\/tmp\/radar-static-build\/radar-sdk-ios\/RadarSDK\/RadarFileStorage.swift",
4402
4358
  "kind": "BooleanLiteral",
@@ -4927,7 +4883,7 @@
4927
4883
  "kind": "StringLiteral",
4928
4884
  "offset": 242,
4929
4885
  "length": 8,
4930
- "value": "\"3.30.0\""
4886
+ "value": "\"3.31.0\""
4931
4887
  },
4932
4888
  {
4933
4889
  "filePath": "\/tmp\/radar-static-build\/radar-sdk-ios\/RadarSDK\/RadarUtils.swift",
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
2
+ // swift-compiler-version: Apple Swift version 6.3.1 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
3
3
  // swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature DebugDescriptionMacro -module-name RadarSDK
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
5
5
  import CoreLocation
6
6
  import CoreTelephony
7
7
  import Foundation
@@ -48,8 +48,6 @@ final public class RadarAPIClient : Swift.Sendable {
48
48
  @objc public static func saveBeaconState(beaconIds: [Swift.String])
49
49
  @objc public static func rollbackSyncState()
50
50
  @objc public static func markDwellFired(_ geofenceId: Swift.String)
51
- @objc public static func getSyncedRegion() -> CoreLocation.CLCircularRegion?
52
- @objc public static func getSyncedStateJSON() -> [Swift.String : Any]?
53
51
  @objc public static func getObjCBeacons(for location: _LocationEssentials.CLLocation) -> [RadarSDK.RadarBeacon]
54
52
  @objc override dynamic public init()
55
53
  @objc deinit
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
2
+ // swift-compiler-version: Apple Swift version 6.3.1 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
3
3
  // swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature DebugDescriptionMacro -module-name RadarSDK
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
5
5
  import CoreLocation
6
6
  import CoreTelephony
7
7
  import Foundation
@@ -48,8 +48,6 @@ final public class RadarAPIClient : Swift.Sendable {
48
48
  @objc public static func saveBeaconState(beaconIds: [Swift.String])
49
49
  @objc public static func rollbackSyncState()
50
50
  @objc public static func markDwellFired(_ geofenceId: Swift.String)
51
- @objc public static func getSyncedRegion() -> CoreLocation.CLCircularRegion?
52
- @objc public static func getSyncedStateJSON() -> [Swift.String : Any]?
53
51
  @objc public static func getObjCBeacons(for location: _LocationEssentials.CLLocation) -> [RadarSDK.RadarBeacon]
54
52
  @objc override dynamic public init()
55
53
  @objc deinit
@@ -1070,84 +1070,6 @@
1070
1070
  ],
1071
1071
  "funcSelfKind": "NonMutating"
1072
1072
  },
1073
- {
1074
- "kind": "Function",
1075
- "name": "getSyncedRegion",
1076
- "printedName": "getSyncedRegion()",
1077
- "children": [
1078
- {
1079
- "kind": "TypeNominal",
1080
- "name": "Optional",
1081
- "printedName": "CoreLocation.CLCircularRegion?",
1082
- "children": [
1083
- {
1084
- "kind": "TypeNominal",
1085
- "name": "CLCircularRegion",
1086
- "printedName": "CoreLocation.CLCircularRegion",
1087
- "usr": "c:objc(cs)CLCircularRegion"
1088
- }
1089
- ],
1090
- "usr": "s:Sq"
1091
- }
1092
- ],
1093
- "declKind": "Func",
1094
- "usr": "c:@M@RadarSDK@objc(cs)RadarSyncManager(cm)getSyncedRegion",
1095
- "mangledName": "$s8RadarSDK0A11SyncManagerC15getSyncedRegionSo010CLCircularG0CSgyFZ",
1096
- "moduleName": "RadarSDK",
1097
- "static": true,
1098
- "declAttributes": [
1099
- "Final",
1100
- "AccessControl",
1101
- "ObjC",
1102
- "RawDocComment"
1103
- ],
1104
- "funcSelfKind": "NonMutating"
1105
- },
1106
- {
1107
- "kind": "Function",
1108
- "name": "getSyncedStateJSON",
1109
- "printedName": "getSyncedStateJSON()",
1110
- "children": [
1111
- {
1112
- "kind": "TypeNominal",
1113
- "name": "Optional",
1114
- "printedName": "[Swift.String : Any]?",
1115
- "children": [
1116
- {
1117
- "kind": "TypeNominal",
1118
- "name": "Dictionary",
1119
- "printedName": "[Swift.String : Any]",
1120
- "children": [
1121
- {
1122
- "kind": "TypeNominal",
1123
- "name": "String",
1124
- "printedName": "Swift.String",
1125
- "usr": "s:SS"
1126
- },
1127
- {
1128
- "kind": "TypeNominal",
1129
- "name": "ProtocolComposition",
1130
- "printedName": "Any"
1131
- }
1132
- ],
1133
- "usr": "s:SD"
1134
- }
1135
- ],
1136
- "usr": "s:Sq"
1137
- }
1138
- ],
1139
- "declKind": "Func",
1140
- "usr": "c:@M@RadarSDK@objc(cs)RadarSyncManager(cm)getSyncedStateJSON",
1141
- "mangledName": "$s8RadarSDK0A11SyncManagerC18getSyncedStateJSONSDySSypGSgyFZ",
1142
- "moduleName": "RadarSDK",
1143
- "static": true,
1144
- "declAttributes": [
1145
- "Final",
1146
- "AccessControl",
1147
- "ObjC"
1148
- ],
1149
- "funcSelfKind": "NonMutating"
1150
- },
1151
1073
  {
1152
1074
  "kind": "Function",
1153
1075
  "name": "getObjCBeacons",
@@ -1316,6 +1238,33 @@
1316
1238
  "RawDocComment"
1317
1239
  ]
1318
1240
  },
1241
+ {
1242
+ "kind": "Import",
1243
+ "name": "CoreLocation",
1244
+ "printedName": "CoreLocation",
1245
+ "declKind": "Import",
1246
+ "moduleName": "RadarSDK"
1247
+ },
1248
+ {
1249
+ "kind": "Import",
1250
+ "name": "Foundation",
1251
+ "printedName": "Foundation",
1252
+ "declKind": "Import",
1253
+ "moduleName": "RadarSDK",
1254
+ "declAttributes": [
1255
+ "RawDocComment"
1256
+ ]
1257
+ },
1258
+ {
1259
+ "kind": "Import",
1260
+ "name": "Foundation",
1261
+ "printedName": "Foundation",
1262
+ "declKind": "Import",
1263
+ "moduleName": "RadarSDK",
1264
+ "declAttributes": [
1265
+ "RawDocComment"
1266
+ ]
1267
+ },
1319
1268
  {
1320
1269
  "kind": "Import",
1321
1270
  "name": "Foundation",
@@ -4397,6 +4346,13 @@
4397
4346
  "length": 5,
4398
4347
  "value": "false"
4399
4348
  },
4349
+ {
4350
+ "filePath": "\/tmp\/radar-static-build\/radar-sdk-ios\/RadarSDK\/RadarOfflineEventManager.swift",
4351
+ "kind": "StringLiteral",
4352
+ "offset": 342,
4353
+ "length": 30,
4354
+ "value": "\"io.radar.offlineEventManager\""
4355
+ },
4400
4356
  {
4401
4357
  "filePath": "\/tmp\/radar-static-build\/radar-sdk-ios\/RadarSDK\/RadarFileStorage.swift",
4402
4358
  "kind": "BooleanLiteral",
@@ -4927,7 +4883,7 @@
4927
4883
  "kind": "StringLiteral",
4928
4884
  "offset": 242,
4929
4885
  "length": 8,
4930
- "value": "\"3.30.0\""
4886
+ "value": "\"3.31.0\""
4931
4887
  },
4932
4888
  {
4933
4889
  "filePath": "\/tmp\/radar-static-build\/radar-sdk-ios\/RadarSDK\/RadarUtils.swift",
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
2
+ // swift-compiler-version: Apple Swift version 6.3.1 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
3
3
  // swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature DebugDescriptionMacro -module-name RadarSDK
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
5
5
  import CoreLocation
6
6
  import CoreTelephony
7
7
  import Foundation
@@ -48,8 +48,6 @@ final public class RadarAPIClient : Swift.Sendable {
48
48
  @objc public static func saveBeaconState(beaconIds: [Swift.String])
49
49
  @objc public static func rollbackSyncState()
50
50
  @objc public static func markDwellFired(_ geofenceId: Swift.String)
51
- @objc public static func getSyncedRegion() -> CoreLocation.CLCircularRegion?
52
- @objc public static func getSyncedStateJSON() -> [Swift.String : Any]?
53
51
  @objc public static func getObjCBeacons(for location: _LocationEssentials.CLLocation) -> [RadarSDK.RadarBeacon]
54
52
  @objc override dynamic public init()
55
53
  @objc deinit
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
2
+ // swift-compiler-version: Apple Swift version 6.3.1 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
3
3
  // swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -O -enable-experimental-feature DebugDescriptionMacro -module-name RadarSDK
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
5
5
  import CoreLocation
6
6
  import CoreTelephony
7
7
  import Foundation
@@ -48,8 +48,6 @@ final public class RadarAPIClient : Swift.Sendable {
48
48
  @objc public static func saveBeaconState(beaconIds: [Swift.String])
49
49
  @objc public static func rollbackSyncState()
50
50
  @objc public static func markDwellFired(_ geofenceId: Swift.String)
51
- @objc public static func getSyncedRegion() -> CoreLocation.CLCircularRegion?
52
- @objc public static func getSyncedStateJSON() -> [Swift.String : Any]?
53
51
  @objc public static func getObjCBeacons(for location: _LocationEssentials.CLLocation) -> [RadarSDK.RadarBeacon]
54
52
  @objc override dynamic public init()
55
53
  @objc deinit
@@ -118,7 +118,7 @@
118
118
  </data>
119
119
  <key>Headers/RadarSDK-Swift.h</key>
120
120
  <data>
121
- QthgciA/1P7pIapvjHc/bNW1EpA=
121
+ JJ/JtcFyUnm5f9nzDCG/MKxIydY=
122
122
  </data>
123
123
  <key>Headers/RadarSDK.h</key>
124
124
  <data>
@@ -130,7 +130,7 @@
130
130
  </data>
131
131
  <key>Headers/RadarSdkConfiguration.h</key>
132
132
  <data>
133
- YjXMJLR5a7l5GGps+jauryRR5nU=
133
+ /x0t1qhuIvuw/tdu/99yQKkh8IM=
134
134
  </data>
135
135
  <key>Headers/RadarSegment.h</key>
136
136
  <data>
@@ -142,7 +142,7 @@
142
142
  </data>
143
143
  <key>Headers/RadarTrackingOptions.h</key>
144
144
  <data>
145
- 37mUKuK37RkAdGnQQXnkOdEYNMc=
145
+ RQDcYKWUQR+qNxyGm1UknntO/oE=
146
146
  </data>
147
147
  <key>Headers/RadarTrip.h</key>
148
148
  <data>
@@ -174,47 +174,47 @@
174
174
  </data>
175
175
  <key>Info.plist</key>
176
176
  <data>
177
- kQ365vG9PUgcBGvqUkVNZeIoqj0=
177
+ sbKy/zg/Wk203AFT35Mdi+KGoPg=
178
178
  </data>
179
179
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
180
180
  <data>
181
- AxGGOmwQtegC+oasZxzCnsSRSMQ=
181
+ 4KOIIm6/5C+bhbH300Z21mYX61E=
182
182
  </data>
183
183
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
184
184
  <data>
185
- qxjobNRVQJguIvcd/OhwyLfnOoE=
185
+ IfOlt3F0juEf7gyaIeed3qjGA2I=
186
186
  </data>
187
187
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
188
188
  <data>
189
- xPKdrkc1BTvQFV0BS/6878z3NJs=
189
+ gUcsWkaDGqpt5CCFF64nxiWHED0=
190
190
  </data>
191
191
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
192
192
  <data>
193
- qxjobNRVQJguIvcd/OhwyLfnOoE=
193
+ IfOlt3F0juEf7gyaIeed3qjGA2I=
194
194
  </data>
195
195
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
196
196
  <data>
197
- fRo/E2h6V9tqPkakhrztNz5CBSc=
197
+ G8egEsdi/8fHtSCMlXxmyK/17u8=
198
198
  </data>
199
199
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
200
200
  <data>
201
- AxGGOmwQtegC+oasZxzCnsSRSMQ=
201
+ 4KOIIm6/5C+bhbH300Z21mYX61E=
202
202
  </data>
203
203
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
204
204
  <data>
205
- XEoZn+t5pYsFItTXw4nBjsw8taU=
205
+ RjvQmgeMN9/mQ09GLnlMOq+WzyE=
206
206
  </data>
207
207
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
208
208
  <data>
209
- hD1pp6Fhxlwt8Do0opoNRSFKCNI=
209
+ Qn5MlFQqtoDf3LvWAfc/hhZHHHE=
210
210
  </data>
211
211
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
212
212
  <data>
213
- XEoZn+t5pYsFItTXw4nBjsw8taU=
213
+ RjvQmgeMN9/mQ09GLnlMOq+WzyE=
214
214
  </data>
215
215
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
216
216
  <data>
217
- 7VkklGf/TsXo6dAGRZe4L96GW6k=
217
+ DHMW4ja1bng5HfbM0XpWME258OU=
218
218
  </data>
219
219
  <key>Modules/module.modulemap</key>
220
220
  <data>
@@ -427,7 +427,7 @@
427
427
  <dict>
428
428
  <key>hash2</key>
429
429
  <data>
430
- U16B37td+sEMtTQr44ZNqk/VUWzv849UouNFPG4Q064=
430
+ 9mY/nBK7X2tMVMf1BmAadKz2Tt8CaXFV8tNlJC5nXew=
431
431
  </data>
432
432
  </dict>
433
433
  <key>Headers/RadarSDK.h</key>
@@ -448,7 +448,7 @@
448
448
  <dict>
449
449
  <key>hash2</key>
450
450
  <data>
451
- H7WN4uNZVwZe8y5SjmeJJloB+OYpIN9Yl+H5e+8F1SQ=
451
+ wed+AQsy+TPPNfW5TqVizppjMgvSh2cOgZYXXfBfnTI=
452
452
  </data>
453
453
  </dict>
454
454
  <key>Headers/RadarSegment.h</key>
@@ -469,7 +469,7 @@
469
469
  <dict>
470
470
  <key>hash2</key>
471
471
  <data>
472
- pyiP6tRNWxtQAIQ4YgtPPf4mCBo9gsyz2kcd51wGzDc=
472
+ EpT2PuQz+RElvoJUKzieBGCGRHgG1RUaTBghRA0XCwM=
473
473
  </data>
474
474
  </dict>
475
475
  <key>Headers/RadarTrip.h</key>
@@ -525,70 +525,70 @@
525
525
  <dict>
526
526
  <key>hash2</key>
527
527
  <data>
528
- qxoP7wA/jyhHIWemEUClo6ASBQi4ICwGNq7l6tu/FA4=
528
+ RMY38gSWxRrlauZz8qXl0HFZwGaPwnmBW6qsorQuALM=
529
529
  </data>
530
530
  </dict>
531
531
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
532
532
  <dict>
533
533
  <key>hash2</key>
534
534
  <data>
535
- c3FDxZzEvNwmBqGvKGmdQM3QfyO2M0W4ADDwgW1Hofg=
535
+ X1eCMebUoNmIRvTs5TpfX9cIjNVYPNVnyIuWnwkyX0w=
536
536
  </data>
537
537
  </dict>
538
538
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
539
539
  <dict>
540
540
  <key>hash2</key>
541
541
  <data>
542
- syvTnEtQBkNF2gYX7pDmHzsRQhv5hTh94MY7EtkTenc=
542
+ tKG1hL2G5HsR6I9R+Gh7S3v3S5zOqS1Af/pujX4mg4M=
543
543
  </data>
544
544
  </dict>
545
545
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
546
546
  <dict>
547
547
  <key>hash2</key>
548
548
  <data>
549
- c3FDxZzEvNwmBqGvKGmdQM3QfyO2M0W4ADDwgW1Hofg=
549
+ X1eCMebUoNmIRvTs5TpfX9cIjNVYPNVnyIuWnwkyX0w=
550
550
  </data>
551
551
  </dict>
552
552
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
553
553
  <dict>
554
554
  <key>hash2</key>
555
555
  <data>
556
- BvvvjncO/AzX+KMRbD7tpWR/eVajZTo1K7q7Uw6KZGY=
556
+ OkuxrnRICIUhmxAQU9x6ih0n23zL2JuykeCIdM++7Iw=
557
557
  </data>
558
558
  </dict>
559
559
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
560
560
  <dict>
561
561
  <key>hash2</key>
562
562
  <data>
563
- qxoP7wA/jyhHIWemEUClo6ASBQi4ICwGNq7l6tu/FA4=
563
+ RMY38gSWxRrlauZz8qXl0HFZwGaPwnmBW6qsorQuALM=
564
564
  </data>
565
565
  </dict>
566
566
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
567
567
  <dict>
568
568
  <key>hash2</key>
569
569
  <data>
570
- gZ7qp9tNAYUSsRJs7kM7Zg0jy/vzqWH0rMAA2G2MC1c=
570
+ hsNox9OhBdWGSWC3Ob8Tx+K4C11eteweIcmNbQHKECw=
571
571
  </data>
572
572
  </dict>
573
573
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
574
574
  <dict>
575
575
  <key>hash2</key>
576
576
  <data>
577
- Lv9qvrO6e6EMXo1DyNiEp6RpGpjPIH0E9cTwtIz1cHU=
577
+ OccM5vRBaR74nXCtqlsBRu0sb8aKiJgwzxPoRYT/A/A=
578
578
  </data>
579
579
  </dict>
580
580
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
581
581
  <dict>
582
582
  <key>hash2</key>
583
583
  <data>
584
- gZ7qp9tNAYUSsRJs7kM7Zg0jy/vzqWH0rMAA2G2MC1c=
584
+ hsNox9OhBdWGSWC3Ob8Tx+K4C11eteweIcmNbQHKECw=
585
585
  </data>
586
586
  </dict>
587
587
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
588
588
  <dict>
589
589
  <key>hash2</key>
590
590
  <data>
591
- +zmLXcY+DQJnsUbYu99GwrJk5SOckk0cXmDHliJpIEM=
591
+ vl7wx+lUTynKDvURvs4QUf+4rhQKz02X8J0Kn7UeQXk=
592
592
  </data>
593
593
  </dict>
594
594
  <key>Modules/module.modulemap</key>
@@ -8,32 +8,32 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>RadarSDKMotion.framework/RadarSDKMotion</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64_x86_64-simulator</string>
11
+ <string>ios-arm64</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>RadarSDKMotion.framework</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
- <string>x86_64</string>
18
17
  </array>
19
18
  <key>SupportedPlatform</key>
20
19
  <string>ios</string>
21
- <key>SupportedPlatformVariant</key>
22
- <string>simulator</string>
23
20
  </dict>
24
21
  <dict>
25
22
  <key>BinaryPath</key>
26
23
  <string>RadarSDKMotion.framework/RadarSDKMotion</string>
27
24
  <key>LibraryIdentifier</key>
28
- <string>ios-arm64</string>
25
+ <string>ios-arm64_x86_64-simulator</string>
29
26
  <key>LibraryPath</key>
30
27
  <string>RadarSDKMotion.framework</string>
31
28
  <key>SupportedArchitectures</key>
32
29
  <array>
33
30
  <string>arm64</string>
31
+ <string>x86_64</string>
34
32
  </array>
35
33
  <key>SupportedPlatform</key>
36
34
  <string>ios</string>
35
+ <key>SupportedPlatformVariant</key>
36
+ <string>simulator</string>
37
37
  </dict>
38
38
  </array>
39
39
  <key>CFBundlePackageType</key>
@@ -10,7 +10,7 @@
10
10
  </data>
11
11
  <key>Info.plist</key>
12
12
  <data>
13
- BAdrSka+fLKfRWeH/NXhmNFdVhY=
13
+ 9yYwQf2vzWw78XM0GET67SCBI6w=
14
14
  </data>
15
15
  <key>Modules/module.modulemap</key>
16
16
  <data>
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": "4.2.0",
6
+ "version": "4.3.0",
7
7
  "main": "dist/index.js",
8
8
  "files": [
9
9
  "dist",
@@ -38,7 +38,8 @@
38
38
  "check-latest-tag": "node ./scripts/check-latest-tag.cjs",
39
39
  "check-beta-tag": "node ./scripts/check-beta-tag.cjs",
40
40
  "build-plugin": "tsc --build plugin/",
41
- "build": "tsc"
41
+ "build": "tsc",
42
+ "setup": "npm rebuild fsevents --ignore-scripts=false"
42
43
  },
43
44
  "jest": {
44
45
  "preset": "react-native",
@@ -78,11 +79,10 @@
78
79
  "@eslint/compat": "^1.2.7",
79
80
  "@eslint/eslintrc": "^3.3.0",
80
81
  "@eslint/js": "^9.22.0",
81
- "@evilmartians/lefthook": "^1.5.0",
82
82
  "@react-native-community/cli": "15.0.0-alpha.2",
83
83
  "@react-native/babel-preset": "0.79.2",
84
84
  "@react-native/eslint-config": "^0.78.0",
85
- "@release-it/conventional-changelog": "^9.0.2",
85
+ "@release-it/conventional-changelog": "^10.0.6",
86
86
  "@types/jest": "^29.5.5",
87
87
  "@types/node": "^24.3.0",
88
88
  "@types/react": "^19.0.0",
@@ -46,6 +46,8 @@ export interface RadarTrackingOptions {
46
46
  beacons: boolean;
47
47
  syncGeofencesLimit?: number;
48
48
  foregroundServiceEnabled?: boolean;
49
+ batchInterval?: number;
50
+ batchSize?: number;
49
51
  }
50
52
 
51
53
  export const presetContinuousIOS: RadarTrackingOptions = {
package/src/version.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  // This file contains the version of the react-native-radar package
2
2
  // It should be updated to match the version in package.json
3
- export const VERSION = '4.2.0';
3
+ export const VERSION = '4.3.0';