react-native-radar 4.34.0 → 4.35.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.
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/radar/RadarModuleImpl.java +28 -0
- package/android/src/newarch/java/com/radar/RadarModule.kt +18 -2
- package/android/src/oldarch/java/com/radar/RadarModule.java +22 -2
- package/dist/@types/RadarNativeInterface.d.ts +4 -0
- package/dist/NativeRadar.d.ts +4 -0
- package/dist/index.native.js +12 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/ios/RNRadar.mm +18 -2
- package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/Radar.h +3 -4
- package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarSDK-Swift.h +1 -1
- package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarSdkConfiguration.h +1 -0
- package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Info.plist +0 -0
- package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.abi.json +1447 -88
- package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +36 -2
- package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.swiftinterface +36 -2
- package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/RadarSDK +0 -0
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/Radar.h +3 -4
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarSDK-Swift.h +2 -2
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarSdkConfiguration.h +1 -0
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Info.plist +0 -0
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +1447 -88
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +36 -2
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +36 -2
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +1447 -88
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +36 -2
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +36 -2
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/RadarSDK +0 -0
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/_CodeSignature/CodeResources +27 -27
- package/ios/RadarSDKMotion.xcframework/Info.plist +5 -5
- package/ios/RadarSDKMotion.xcframework/ios-arm64/RadarSDKMotion.framework/Info.plist +0 -0
- package/ios/RadarSDKMotion.xcframework/ios-arm64_x86_64-simulator/RadarSDKMotion.framework/Info.plist +0 -0
- package/ios/RadarSDKMotion.xcframework/ios-arm64_x86_64-simulator/RadarSDKMotion.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RadarSDKMotion.xcframework/ios-arm64_x86_64-simulator/RadarSDKMotion.framework/_CodeSignature/CodeResources +1 -1
- package/package.json +1 -1
- package/src/@types/RadarNativeInterface.ts +4 -0
- package/src/NativeRadar.ts +4 -0
- package/src/index.native.ts +12 -0
- package/src/version.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.3.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios13.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.3
|
|
5
5
|
import CoreLocation
|
|
6
6
|
import CoreTelephony
|
|
7
7
|
import Foundation
|
|
@@ -58,9 +58,43 @@ extension RadarSDK.RadarLogType : Swift.Codable {
|
|
|
58
58
|
@objc public static func rollbackSyncState()
|
|
59
59
|
@objc public static func markDwellFired(_ geofenceId: Swift.String)
|
|
60
60
|
@objc public static func getObjCBeacons(for location: _LocationEssentials.CLLocation) -> [RadarSDK.RadarBeacon]
|
|
61
|
+
public static func getSyncedRegion() -> CoreLocation.CLCircularRegion?
|
|
62
|
+
public static func getSyncedGeofences() -> [RadarSDK.RadarSyncedGeofenceSnapshot]
|
|
63
|
+
public static func getSyncedPlaces() -> [RadarSDK.RadarSyncedPlaceSnapshot]
|
|
64
|
+
public static func getSyncedBeacons() -> [RadarSDK.RadarSyncedBeaconSnapshot]
|
|
61
65
|
@objc override dynamic public init()
|
|
62
66
|
@objc deinit
|
|
63
67
|
}
|
|
68
|
+
public struct RadarSyncedGeofenceSnapshot {
|
|
69
|
+
public let id: Swift.String
|
|
70
|
+
public let description: Swift.String
|
|
71
|
+
public let tag: Swift.String?
|
|
72
|
+
public let externalId: Swift.String?
|
|
73
|
+
public let geometry: RadarSDK.RadarSyncedGeofenceSnapshot.Geometry
|
|
74
|
+
public enum Geometry {
|
|
75
|
+
case circle(center: _LocationEssentials.CLLocationCoordinate2D, radius: Swift.Double)
|
|
76
|
+
case polygon(coordinates: [_LocationEssentials.CLLocationCoordinate2D], center: _LocationEssentials.CLLocationCoordinate2D, radius: Swift.Double)
|
|
77
|
+
public var center: _LocationEssentials.CLLocationCoordinate2D {
|
|
78
|
+
get
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
public struct RadarSyncedPlaceSnapshot {
|
|
83
|
+
public let id: Swift.String
|
|
84
|
+
public let name: Swift.String
|
|
85
|
+
public let categories: [Swift.String]
|
|
86
|
+
public let group: Swift.String?
|
|
87
|
+
public let location: _LocationEssentials.CLLocationCoordinate2D
|
|
88
|
+
}
|
|
89
|
+
public struct RadarSyncedBeaconSnapshot {
|
|
90
|
+
public let id: Swift.String
|
|
91
|
+
public let description: Swift.String?
|
|
92
|
+
public let tag: Swift.String?
|
|
93
|
+
public let uuid: Swift.String
|
|
94
|
+
public let major: Swift.String
|
|
95
|
+
public let minor: Swift.String
|
|
96
|
+
public let location: _LocationEssentials.CLLocationCoordinate2D?
|
|
97
|
+
}
|
|
64
98
|
@objc(RadarInAppMessage_Swift) @objcMembers final public class RadarInAppMessage_Swift : RadarSDK.RadarInAppMessage {
|
|
65
99
|
public struct Text : Swift.Sendable {
|
|
66
100
|
public var text: Swift.String
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.3.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios13.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.3
|
|
5
5
|
import CoreLocation
|
|
6
6
|
import CoreTelephony
|
|
7
7
|
import Foundation
|
|
@@ -58,9 +58,43 @@ extension RadarSDK.RadarLogType : Swift.Codable {
|
|
|
58
58
|
@objc public static func rollbackSyncState()
|
|
59
59
|
@objc public static func markDwellFired(_ geofenceId: Swift.String)
|
|
60
60
|
@objc public static func getObjCBeacons(for location: _LocationEssentials.CLLocation) -> [RadarSDK.RadarBeacon]
|
|
61
|
+
public static func getSyncedRegion() -> CoreLocation.CLCircularRegion?
|
|
62
|
+
public static func getSyncedGeofences() -> [RadarSDK.RadarSyncedGeofenceSnapshot]
|
|
63
|
+
public static func getSyncedPlaces() -> [RadarSDK.RadarSyncedPlaceSnapshot]
|
|
64
|
+
public static func getSyncedBeacons() -> [RadarSDK.RadarSyncedBeaconSnapshot]
|
|
61
65
|
@objc override dynamic public init()
|
|
62
66
|
@objc deinit
|
|
63
67
|
}
|
|
68
|
+
public struct RadarSyncedGeofenceSnapshot {
|
|
69
|
+
public let id: Swift.String
|
|
70
|
+
public let description: Swift.String
|
|
71
|
+
public let tag: Swift.String?
|
|
72
|
+
public let externalId: Swift.String?
|
|
73
|
+
public let geometry: RadarSDK.RadarSyncedGeofenceSnapshot.Geometry
|
|
74
|
+
public enum Geometry {
|
|
75
|
+
case circle(center: _LocationEssentials.CLLocationCoordinate2D, radius: Swift.Double)
|
|
76
|
+
case polygon(coordinates: [_LocationEssentials.CLLocationCoordinate2D], center: _LocationEssentials.CLLocationCoordinate2D, radius: Swift.Double)
|
|
77
|
+
public var center: _LocationEssentials.CLLocationCoordinate2D {
|
|
78
|
+
get
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
public struct RadarSyncedPlaceSnapshot {
|
|
83
|
+
public let id: Swift.String
|
|
84
|
+
public let name: Swift.String
|
|
85
|
+
public let categories: [Swift.String]
|
|
86
|
+
public let group: Swift.String?
|
|
87
|
+
public let location: _LocationEssentials.CLLocationCoordinate2D
|
|
88
|
+
}
|
|
89
|
+
public struct RadarSyncedBeaconSnapshot {
|
|
90
|
+
public let id: Swift.String
|
|
91
|
+
public let description: Swift.String?
|
|
92
|
+
public let tag: Swift.String?
|
|
93
|
+
public let uuid: Swift.String
|
|
94
|
+
public let major: Swift.String
|
|
95
|
+
public let minor: Swift.String
|
|
96
|
+
public let location: _LocationEssentials.CLLocationCoordinate2D?
|
|
97
|
+
}
|
|
64
98
|
@objc(RadarInAppMessage_Swift) @objcMembers final public class RadarInAppMessage_Swift : RadarSDK.RadarInAppMessage {
|
|
65
99
|
public struct Text : Swift.Sendable {
|
|
66
100
|
public var text: Swift.String
|
|
Binary file
|
package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/Radar.h
CHANGED
|
@@ -1323,8 +1323,7 @@ typedef void (^_Nonnull RadarIndoorsScanCompletionHandler)(NSString *_Nullable r
|
|
|
1323
1323
|
|
|
1324
1324
|
@see https://radar.com/documentation/api#ip-geocode
|
|
1325
1325
|
*/
|
|
1326
|
-
+ (void)ipGeocodeWithCompletionHandler:(RadarIPGeocodeCompletionHandler)completionHandler
|
|
1327
|
-
__attribute__((deprecated("Use ipGeocodeWithErrorCompletionHandler: to also receive the underlying NSError on network/parse errors.")));
|
|
1326
|
+
+ (void)ipGeocodeWithCompletionHandler:(RadarIPGeocodeCompletionHandler)completionHandler NS_SWIFT_NAME(ipGeocode(completionHandler:));
|
|
1328
1327
|
|
|
1329
1328
|
/**
|
|
1330
1329
|
Geocodes the device's current IP address, converting IP address to partial address. The completion handler also receives the underlying NSError when the failure originated from a caught network, parse, or exception error — forward it to an error collector (Sentry, Crashlytics, etc.) to capture diagnostics.
|
|
@@ -1333,8 +1332,8 @@ typedef void (^_Nonnull RadarIndoorsScanCompletionHandler)(NSString *_Nullable r
|
|
|
1333
1332
|
|
|
1334
1333
|
@see https://radar.com/documentation/api#ip-geocode
|
|
1335
1334
|
*/
|
|
1336
|
-
+ (void)ipGeocodeWithErrorCompletionHandler:(RadarIPGeocodeWithErrorCompletionHandler)completionHandler
|
|
1337
|
-
|
|
1335
|
+
+ (void)ipGeocodeWithErrorCompletionHandler:(RadarIPGeocodeWithErrorCompletionHandler)completionHandler
|
|
1336
|
+
NS_SWIFT_NAME(ipGeocode(completionHandler:)) NS_SWIFT_DISABLE_ASYNC;
|
|
1338
1337
|
|
|
1339
1338
|
/**
|
|
1340
1339
|
Validates an address, attaching a verification status, property type, and ZIP+4.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 6.3.
|
|
3
|
+
// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
|
|
4
4
|
#ifndef RADARSDK_SWIFT_H
|
|
5
5
|
#define RADARSDK_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -444,7 +444,7 @@ SWIFT_CLASS_NAMED("RadarSyncManager")
|
|
|
444
444
|
#endif
|
|
445
445
|
|
|
446
446
|
#elif defined(__x86_64__) && __x86_64__
|
|
447
|
-
// Generated by Apple Swift version 6.3.
|
|
447
|
+
// Generated by Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
|
|
448
448
|
#ifndef RADARSDK_SWIFT_H
|
|
449
449
|
#define RADARSDK_SWIFT_H
|
|
450
450
|
#pragma clang diagnostic push
|
|
@@ -42,6 +42,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
42
42
|
- (NSArray<RadarRemoteTrackingOptions *> *_Nullable)remoteTrackingOptions;
|
|
43
43
|
- (instancetype)initWithDict:(NSDictionary *_Nullable)dict;
|
|
44
44
|
- (NSDictionary *)dictionaryValue;
|
|
45
|
+
+ (RadarSdkConfiguration *_Nullable)current;
|
|
45
46
|
@end
|
|
46
47
|
|
|
47
48
|
/**
|