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-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.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-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.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
|