react-native-radar 3.31.0 → 4.1.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 (86) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/java/com/radar/RadarModuleImpl.java +110 -0
  3. package/android/src/newarch/java/com/radar/RadarModule.kt +45 -2
  4. package/android/src/oldarch/java/com/radar/RadarModule.java +56 -2
  5. package/dist/@types/RadarNativeInterface.d.ts +9 -2
  6. package/dist/@types/types.d.ts +45 -4
  7. package/dist/NativeRadar.d.ts +8 -1
  8. package/dist/index.native.js +35 -3
  9. package/dist/index.web.d.ts +6 -0
  10. package/dist/index.web.js +17 -0
  11. package/dist/ui/autocomplete.js +9 -2
  12. package/dist/ui/autocomplete.jsx +6 -1
  13. package/dist/ui/map.jsx +44 -27
  14. package/dist/version.d.ts +1 -1
  15. package/dist/version.js +1 -1
  16. package/ios/RNRadar.mm +155 -3
  17. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/Radar.h +108 -0
  18. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarBeacon.h +10 -0
  19. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarCoordinate.h +1 -0
  20. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarGeofence.h +10 -0
  21. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarInitializeOptions.h +0 -1
  22. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarSDK-Swift.h +101 -7
  23. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarSDK.h +1 -1
  24. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarSDKFraudProtocol.h +26 -0
  25. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarSdkConfiguration.h +23 -28
  26. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarTrackingOptions.h +20 -1
  27. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarTrip.h +15 -0
  28. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarTripLeg.h +268 -0
  29. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarTripOptions.h +6 -0
  30. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarTripOrder.h +1 -1
  31. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/RadarUser.h +2 -0
  32. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Info.plist +0 -0
  33. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.abi.json +1702 -209
  34. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +34 -9
  35. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  36. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios.swiftinterface +34 -9
  37. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Modules/module.modulemap +0 -1
  38. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/RadarSDK +0 -0
  39. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/Radar.h +108 -0
  40. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarBeacon.h +10 -0
  41. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarCoordinate.h +1 -0
  42. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarGeofence.h +10 -0
  43. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarInitializeOptions.h +0 -1
  44. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarSDK-Swift.h +204 -16
  45. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarSDK.h +1 -1
  46. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarSDKFraudProtocol.h +26 -0
  47. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarSdkConfiguration.h +23 -28
  48. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarTrackingOptions.h +20 -1
  49. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarTrip.h +15 -0
  50. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarTripLeg.h +268 -0
  51. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarTripOptions.h +6 -0
  52. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarTripOrder.h +1 -1
  53. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/RadarUser.h +2 -0
  54. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Info.plist +0 -0
  55. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +1702 -209
  56. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +34 -9
  57. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  58. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +34 -9
  59. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +1702 -209
  60. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +34 -9
  61. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  62. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +34 -9
  63. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Modules/module.modulemap +0 -1
  64. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/RadarSDK +0 -0
  65. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/_CodeSignature/CodeDirectory +0 -0
  66. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/_CodeSignature/CodeResources +71 -60
  67. package/ios/RadarSDKMotion.xcframework/ios-arm64/RadarSDKMotion.framework/Headers/RadarSDKMotion.h +0 -2
  68. package/ios/RadarSDKMotion.xcframework/ios-arm64/RadarSDKMotion.framework/Info.plist +0 -0
  69. package/ios/RadarSDKMotion.xcframework/ios-arm64/RadarSDKMotion.framework/RadarSDKMotion +0 -0
  70. package/ios/RadarSDKMotion.xcframework/ios-arm64_x86_64-simulator/RadarSDKMotion.framework/Headers/RadarSDKMotion.h +0 -2
  71. package/ios/RadarSDKMotion.xcframework/ios-arm64_x86_64-simulator/RadarSDKMotion.framework/Info.plist +0 -0
  72. package/ios/RadarSDKMotion.xcframework/ios-arm64_x86_64-simulator/RadarSDKMotion.framework/RadarSDKMotion +0 -0
  73. package/ios/RadarSDKMotion.xcframework/ios-arm64_x86_64-simulator/RadarSDKMotion.framework/_CodeSignature/CodeDirectory +0 -0
  74. package/ios/RadarSDKMotion.xcframework/ios-arm64_x86_64-simulator/RadarSDKMotion.framework/_CodeSignature/CodeResources +3 -3
  75. package/package.json +8 -4
  76. package/src/@types/RadarNativeInterface.ts +11 -2
  77. package/src/@types/maplibre-react-native.d.ts +16 -0
  78. package/src/@types/types.ts +63 -4
  79. package/src/NativeRadar.ts +8 -1
  80. package/src/index.native.ts +42 -3
  81. package/src/index.web.js +17 -0
  82. package/src/ui/autocomplete.jsx +6 -1
  83. package/src/ui/map.jsx +44 -27
  84. package/src/version.ts +1 -1
  85. package/ios/RadarSDK.xcframework/ios-arm64/RadarSDK.framework/Headers/Radar-Swift.h +0 -7
  86. package/ios/RadarSDK.xcframework/ios-arm64_x86_64-simulator/RadarSDK.framework/Headers/Radar-Swift.h +0 -7
@@ -1,22 +1,25 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.2.3 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
3
- // swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -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.2.3
2
+ // swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
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
5
+ import CoreLocation
6
+ import CoreTelephony
5
7
  import Foundation
6
8
  import OSLog
7
9
  @_exported import RadarSDK
8
10
  import Swift
9
11
  import SwiftUI
12
+ import SystemConfiguration
13
+ import UIKit
14
+ import UserNotifications
10
15
  import _Concurrency
11
16
  import _StringProcessing
12
17
  import _SwiftConcurrencyShims
13
18
 
14
19
  @_inheritsConvenienceInitializers @available(iOS 13.0, *)
15
20
  @objc(RadarInAppMessageDelegate_Swift) @objcMembers @_Concurrency.MainActor open class RadarInAppMessageDelegate : ObjectiveC.NSObject, RadarSDK.RadarInAppMessageProtocol {
16
- #if compiler(>=5.3) && $NonescapableTypes
17
21
  @objc @available(iOS 13.0, *)
18
22
  @_Concurrency.MainActor public static func loadImage(_ url: Swift.String) async -> UIKit.UIImage?
19
- #endif
20
23
  @_Concurrency.MainActor @preconcurrency @objc open func createInAppMessageView(_ message: RadarSDK.RadarInAppMessage, onDismiss: @escaping () -> Swift.Void, onInAppMessageClicked: @escaping () -> Swift.Void, completionHandler: @escaping (UIKit.UIViewController) -> Swift.Void)
21
24
  @_Concurrency.MainActor @preconcurrency @objc open func onInAppMessageButtonClicked(_ message: RadarSDK.RadarInAppMessage)
22
25
  @_Concurrency.MainActor @preconcurrency @objc open func onInAppMessageDismissed(_ message: RadarSDK.RadarInAppMessage)
@@ -29,6 +32,32 @@ final public class RadarAPIClient : Swift.Sendable {
29
32
  public static let shared: RadarSDK.RadarAPIClient
30
33
  @objc deinit
31
34
  }
35
+ @_inheritsConvenienceInitializers @objc(RadarSyncManager) final public class RadarSyncManager : ObjectiveC.NSObject {
36
+ @objc public static func start(interval: Foundation.TimeInterval)
37
+ @objc public static func stop()
38
+ @objc public static func fetchSyncRegion()
39
+ @objc public static func shouldTrack(location: _LocationEssentials.CLLocation, options: RadarSDK.RadarTrackingOptions) -> Swift.Bool
40
+ @objc public static func isNearSyncedRegionBoundary(location: _LocationEssentials.CLLocation) -> Swift.Bool
41
+ @objc public static func isOutsideSyncedRegion(location: _LocationEssentials.CLLocation) -> Swift.Bool
42
+ @objc public static func isPoint(_ point: _LocationEssentials.CLLocation, insideCircleWithCenter center: _LocationEssentials.CLLocationCoordinate2D, radius: Swift.Double) -> Swift.Bool
43
+ @objc public static func hasSyncedRegion() -> Swift.Bool
44
+ @objc public static func hasGeofenceStateChanged(location: _LocationEssentials.CLLocation) -> Swift.Bool
45
+ @objc public static func hasBeaconStateChanged(rangedBeaconIds: Swift.Set<Swift.String>) -> Swift.Bool
46
+ @objc public static func hasPlaceStateChanged(location: _LocationEssentials.CLLocation) -> Swift.Bool
47
+ @objc public static func reconcileSyncState(user: RadarSDK.RadarUser)
48
+ @objc public static func saveBeaconState(beaconIds: [Swift.String])
49
+ @objc public static func rollbackSyncState()
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
+ @objc public static func getObjCBeacons(for location: _LocationEssentials.CLLocation) -> [RadarSDK.RadarBeacon]
54
+ @objc override dynamic public init()
55
+ @objc deinit
56
+ }
57
+ extension RadarSDK.RadarLogLevel : Swift.Codable {
58
+ public func encode(to encoder: any Swift.Encoder) throws
59
+ public init(from decoder: any Swift.Decoder) throws
60
+ }
32
61
  @_inheritsConvenienceInitializers @objc(RadarLogger_Swift) final public class RadarLogger : ObjectiveC.NSObject, Swift.Sendable {
33
62
  @_Concurrency.MainActor @objc public static func setDelegate(_ delegate: any RadarSDK.RadarDelegate)
34
63
  @objc override dynamic public init()
@@ -54,12 +83,8 @@ final public class RadarAPIClient : Swift.Sendable {
54
83
  final public var button: RadarSDK.RadarInAppMessage_Swift.Button?
55
84
  final public var image: RadarSDK.RadarInAppMessage_Swift.Image?
56
85
  @objc final public var metadata: [Swift.String : any Swift.Sendable]
57
- #if compiler(>=5.3) && $NonescapableTypes
58
86
  public init(title: RadarSDK.RadarInAppMessage_Swift.Text, body: RadarSDK.RadarInAppMessage_Swift.Text, button: RadarSDK.RadarInAppMessage_Swift.Button?, image: RadarSDK.RadarInAppMessage_Swift.Image?, metadata: [Swift.String : any Swift.Sendable])
59
- #endif
60
- #if compiler(>=5.3) && $NonescapableTypes
61
87
  @objc override public static func fromDictionary(_ dict: [Swift.String : Any]) -> RadarSDK.RadarInAppMessage?
62
- #endif
63
88
  @objc override public static func fromArray(_ array: Any) -> [RadarSDK.RadarInAppMessage]
64
89
  @objc override final public func toDictionary() -> [Swift.String : Any]
65
90
  @objc public static func toDictionary(_ message: RadarSDK.RadarInAppMessage) -> [Swift.String : Any]
@@ -1,22 +1,25 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.2.3 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
3
- // swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -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.2.3
2
+ // swift-compiler-version: Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102)
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
5
+ import CoreLocation
6
+ import CoreTelephony
5
7
  import Foundation
6
8
  import OSLog
7
9
  @_exported import RadarSDK
8
10
  import Swift
9
11
  import SwiftUI
12
+ import SystemConfiguration
13
+ import UIKit
14
+ import UserNotifications
10
15
  import _Concurrency
11
16
  import _StringProcessing
12
17
  import _SwiftConcurrencyShims
13
18
 
14
19
  @_inheritsConvenienceInitializers @available(iOS 13.0, *)
15
20
  @objc(RadarInAppMessageDelegate_Swift) @objcMembers @_Concurrency.MainActor open class RadarInAppMessageDelegate : ObjectiveC.NSObject, RadarSDK.RadarInAppMessageProtocol {
16
- #if compiler(>=5.3) && $NonescapableTypes
17
21
  @objc @available(iOS 13.0, *)
18
22
  @_Concurrency.MainActor public static func loadImage(_ url: Swift.String) async -> UIKit.UIImage?
19
- #endif
20
23
  @_Concurrency.MainActor @preconcurrency @objc open func createInAppMessageView(_ message: RadarSDK.RadarInAppMessage, onDismiss: @escaping () -> Swift.Void, onInAppMessageClicked: @escaping () -> Swift.Void, completionHandler: @escaping (UIKit.UIViewController) -> Swift.Void)
21
24
  @_Concurrency.MainActor @preconcurrency @objc open func onInAppMessageButtonClicked(_ message: RadarSDK.RadarInAppMessage)
22
25
  @_Concurrency.MainActor @preconcurrency @objc open func onInAppMessageDismissed(_ message: RadarSDK.RadarInAppMessage)
@@ -29,6 +32,32 @@ final public class RadarAPIClient : Swift.Sendable {
29
32
  public static let shared: RadarSDK.RadarAPIClient
30
33
  @objc deinit
31
34
  }
35
+ @_inheritsConvenienceInitializers @objc(RadarSyncManager) final public class RadarSyncManager : ObjectiveC.NSObject {
36
+ @objc public static func start(interval: Foundation.TimeInterval)
37
+ @objc public static func stop()
38
+ @objc public static func fetchSyncRegion()
39
+ @objc public static func shouldTrack(location: _LocationEssentials.CLLocation, options: RadarSDK.RadarTrackingOptions) -> Swift.Bool
40
+ @objc public static func isNearSyncedRegionBoundary(location: _LocationEssentials.CLLocation) -> Swift.Bool
41
+ @objc public static func isOutsideSyncedRegion(location: _LocationEssentials.CLLocation) -> Swift.Bool
42
+ @objc public static func isPoint(_ point: _LocationEssentials.CLLocation, insideCircleWithCenter center: _LocationEssentials.CLLocationCoordinate2D, radius: Swift.Double) -> Swift.Bool
43
+ @objc public static func hasSyncedRegion() -> Swift.Bool
44
+ @objc public static func hasGeofenceStateChanged(location: _LocationEssentials.CLLocation) -> Swift.Bool
45
+ @objc public static func hasBeaconStateChanged(rangedBeaconIds: Swift.Set<Swift.String>) -> Swift.Bool
46
+ @objc public static func hasPlaceStateChanged(location: _LocationEssentials.CLLocation) -> Swift.Bool
47
+ @objc public static func reconcileSyncState(user: RadarSDK.RadarUser)
48
+ @objc public static func saveBeaconState(beaconIds: [Swift.String])
49
+ @objc public static func rollbackSyncState()
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
+ @objc public static func getObjCBeacons(for location: _LocationEssentials.CLLocation) -> [RadarSDK.RadarBeacon]
54
+ @objc override dynamic public init()
55
+ @objc deinit
56
+ }
57
+ extension RadarSDK.RadarLogLevel : Swift.Codable {
58
+ public func encode(to encoder: any Swift.Encoder) throws
59
+ public init(from decoder: any Swift.Decoder) throws
60
+ }
32
61
  @_inheritsConvenienceInitializers @objc(RadarLogger_Swift) final public class RadarLogger : ObjectiveC.NSObject, Swift.Sendable {
33
62
  @_Concurrency.MainActor @objc public static func setDelegate(_ delegate: any RadarSDK.RadarDelegate)
34
63
  @objc override dynamic public init()
@@ -54,12 +83,8 @@ final public class RadarAPIClient : Swift.Sendable {
54
83
  final public var button: RadarSDK.RadarInAppMessage_Swift.Button?
55
84
  final public var image: RadarSDK.RadarInAppMessage_Swift.Image?
56
85
  @objc final public var metadata: [Swift.String : any Swift.Sendable]
57
- #if compiler(>=5.3) && $NonescapableTypes
58
86
  public init(title: RadarSDK.RadarInAppMessage_Swift.Text, body: RadarSDK.RadarInAppMessage_Swift.Text, button: RadarSDK.RadarInAppMessage_Swift.Button?, image: RadarSDK.RadarInAppMessage_Swift.Image?, metadata: [Swift.String : any Swift.Sendable])
59
- #endif
60
- #if compiler(>=5.3) && $NonescapableTypes
61
87
  @objc override public static func fromDictionary(_ dict: [Swift.String : Any]) -> RadarSDK.RadarInAppMessage?
62
- #endif
63
88
  @objc override public static func fromArray(_ array: Any) -> [RadarSDK.RadarInAppMessage]
64
89
  @objc override final public func toDictionary() -> [Swift.String : Any]
65
90
  @objc public static func toDictionary(_ message: RadarSDK.RadarInAppMessage) -> [Swift.String : Any]
@@ -7,5 +7,4 @@ framework module RadarSDK {
7
7
 
8
8
  module RadarSDK.Swift {
9
9
  header "RadarSDK-Swift.h"
10
- requires objc
11
10
  }
@@ -4,13 +4,9 @@
4
4
  <dict>
5
5
  <key>files</key>
6
6
  <dict>
7
- <key>Headers/Radar-Swift.h</key>
8
- <data>
9
- h7a/HNKiOPzPaN/Q7ojwgjcIKVU=
10
- </data>
11
7
  <key>Headers/Radar.h</key>
12
8
  <data>
13
- 23/2v/JwUplNj3F1msMZ3oB7Wpo=
9
+ c2T/R1ORTUpuXeLRulu7YTeLTWY=
14
10
  </data>
15
11
  <key>Headers/RadarAddress.h</key>
16
12
  <data>
@@ -18,7 +14,7 @@
18
14
  </data>
19
15
  <key>Headers/RadarBeacon.h</key>
20
16
  <data>
21
- rBwTnYPvoGpwuLQkKyL1Y9Ogq50=
17
+ 7ZDDl96yS3efQnvZHiG9zdwzATA=
22
18
  </data>
23
19
  <key>Headers/RadarChain.h</key>
24
20
  <data>
@@ -34,7 +30,7 @@
34
30
  </data>
35
31
  <key>Headers/RadarCoordinate.h</key>
36
32
  <data>
37
- 6vVS+AFXhBU3GInmfq3zDh8Ti4U=
33
+ zX2+9likSZfvCgr3vsH59g+pIj0=
38
34
  </data>
39
35
  <key>Headers/RadarDelegate.h</key>
40
36
  <data>
@@ -50,7 +46,7 @@
50
46
  </data>
51
47
  <key>Headers/RadarGeofence.h</key>
52
48
  <data>
53
- pkzlSWE+MKlzsXF+9m1m5TMBYks=
49
+ jAAg529b0YseuxTaCnvqMxT3Fjc=
54
50
  </data>
55
51
  <key>Headers/RadarGeofenceGeometry.h</key>
56
52
  <data>
@@ -70,7 +66,7 @@
70
66
  </data>
71
67
  <key>Headers/RadarInitializeOptions.h</key>
72
68
  <data>
73
- vJQzdDI+8SbhILu9WBreKjBRF2U=
69
+ aosI/wa+rsl/RR8rQxvytTC9aB4=
74
70
  </data>
75
71
  <key>Headers/RadarMotionProtocol.h</key>
76
72
  <data>
@@ -122,15 +118,19 @@
122
118
  </data>
123
119
  <key>Headers/RadarSDK-Swift.h</key>
124
120
  <data>
125
- aPAJMI7muVez/g7Vny2jbk7AL7Q=
121
+ QthgciA/1P7pIapvjHc/bNW1EpA=
126
122
  </data>
127
123
  <key>Headers/RadarSDK.h</key>
128
124
  <data>
129
- zQw5Xm3IjpdDnAusxpgemNY2npY=
125
+ EGR4gv+gcJwvOZtaL9EfD/bNlPQ=
126
+ </data>
127
+ <key>Headers/RadarSDKFraudProtocol.h</key>
128
+ <data>
129
+ /0LmLQDrRiwTbxkHmTCSdCqxxcU=
130
130
  </data>
131
131
  <key>Headers/RadarSdkConfiguration.h</key>
132
132
  <data>
133
- xnkAlYMT2iwqE7lEVaBz5O4WtHQ=
133
+ YjXMJLR5a7l5GGps+jauryRR5nU=
134
134
  </data>
135
135
  <key>Headers/RadarSegment.h</key>
136
136
  <data>
@@ -142,23 +142,27 @@
142
142
  </data>
143
143
  <key>Headers/RadarTrackingOptions.h</key>
144
144
  <data>
145
- 6tpYc8FLXbf1fYf4Lfen0NaDJ2k=
145
+ 37mUKuK37RkAdGnQQXnkOdEYNMc=
146
146
  </data>
147
147
  <key>Headers/RadarTrip.h</key>
148
148
  <data>
149
- WlAiBaTDvWMLkRKevuPF//egD+g=
149
+ vQ4KUOV+w8ZU0X/V+kiHA+i47q0=
150
+ </data>
151
+ <key>Headers/RadarTripLeg.h</key>
152
+ <data>
153
+ Cqnl9wBHbDh69Xz3ViyKcRhhnIU=
150
154
  </data>
151
155
  <key>Headers/RadarTripOptions.h</key>
152
156
  <data>
153
- 3I0zOIMgoqYKY24WJyOIK7dojgA=
157
+ IYYLsCOOILxGzCY1RSPLqIZVrsU=
154
158
  </data>
155
159
  <key>Headers/RadarTripOrder.h</key>
156
160
  <data>
157
- n91hHic0sZHKeuMr/i7bP2RxIxc=
161
+ 3JwQOfPCkAe5gt8HCgNjCiv7eFs=
158
162
  </data>
159
163
  <key>Headers/RadarUser.h</key>
160
164
  <data>
161
- K91ZkPV0Tcv9qIVerxd2XBNUd2E=
165
+ HlumnKAhOzbqq6d9c4cGinQ3tAo=
162
166
  </data>
163
167
  <key>Headers/RadarVerifiedDelegate.h</key>
164
168
  <data>
@@ -170,51 +174,51 @@
170
174
  </data>
171
175
  <key>Info.plist</key>
172
176
  <data>
173
- RVXpWRouDWM3kGEypp3Q6LxntvU=
177
+ kQ365vG9PUgcBGvqUkVNZeIoqj0=
174
178
  </data>
175
179
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
176
180
  <data>
177
- wSVXRZN4bEPvQftw9I3pxzY/myc=
181
+ AxGGOmwQtegC+oasZxzCnsSRSMQ=
178
182
  </data>
179
183
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
180
184
  <data>
181
- o3F1pOQBAHPcnV30N+5o6q8hgZc=
185
+ qxjobNRVQJguIvcd/OhwyLfnOoE=
182
186
  </data>
183
187
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
184
188
  <data>
185
- Na3IsQ92xS9YV6IBsSUAq8MNN9U=
189
+ xPKdrkc1BTvQFV0BS/6878z3NJs=
186
190
  </data>
187
191
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
188
192
  <data>
189
- o3F1pOQBAHPcnV30N+5o6q8hgZc=
193
+ qxjobNRVQJguIvcd/OhwyLfnOoE=
190
194
  </data>
191
195
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
192
196
  <data>
193
- v2wKMPcaijJrMtIJelQmGUpJEQM=
197
+ fRo/E2h6V9tqPkakhrztNz5CBSc=
194
198
  </data>
195
199
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
196
200
  <data>
197
- wSVXRZN4bEPvQftw9I3pxzY/myc=
201
+ AxGGOmwQtegC+oasZxzCnsSRSMQ=
198
202
  </data>
199
203
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
200
204
  <data>
201
- DvEuQ7ZBPa46n1re8yg8JyRnwqw=
205
+ XEoZn+t5pYsFItTXw4nBjsw8taU=
202
206
  </data>
203
207
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
204
208
  <data>
205
- WA/mFi8YS9cIuJdpGq+lM2avcV4=
209
+ hD1pp6Fhxlwt8Do0opoNRSFKCNI=
206
210
  </data>
207
211
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
208
212
  <data>
209
- DvEuQ7ZBPa46n1re8yg8JyRnwqw=
213
+ XEoZn+t5pYsFItTXw4nBjsw8taU=
210
214
  </data>
211
215
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
212
216
  <data>
213
- W1H0LyVHFF7wcb0coeccJphn2AA=
217
+ 7VkklGf/TsXo6dAGRZe4L96GW6k=
214
218
  </data>
215
219
  <key>Modules/module.modulemap</key>
216
220
  <data>
217
- SCZZs5PO5v32+T428prNFZDH2iw=
221
+ 7hXJQcPMLv0ZfK+PyFbNIiwglD0=
218
222
  </data>
219
223
  <key>PrivacyInfo.xcprivacy</key>
220
224
  <data>
@@ -223,18 +227,11 @@
223
227
  </dict>
224
228
  <key>files2</key>
225
229
  <dict>
226
- <key>Headers/Radar-Swift.h</key>
227
- <dict>
228
- <key>hash2</key>
229
- <data>
230
- xn1N6CPQtzg+WFnFcGxru/0DmY0Bbkb0pVJf1QeNPmU=
231
- </data>
232
- </dict>
233
230
  <key>Headers/Radar.h</key>
234
231
  <dict>
235
232
  <key>hash2</key>
236
233
  <data>
237
- 9puFwHLO6ptY7BhLcXUDAujjZs5RyJ4oMAbvlRjjcpo=
234
+ A4zdwJnNRcdjYw4yfchi1GiwmfV992sqBy2jgktF0YU=
238
235
  </data>
239
236
  </dict>
240
237
  <key>Headers/RadarAddress.h</key>
@@ -248,7 +245,7 @@
248
245
  <dict>
249
246
  <key>hash2</key>
250
247
  <data>
251
- +XHz0ALo+AP2w4Gi5V0mQpkTpS9pW2dblmk2RwOENRI=
248
+ kjowFZq/aJ/u2GdLQ3yRCWkuSodTkrnvM5mWU0lmgd4=
252
249
  </data>
253
250
  </dict>
254
251
  <key>Headers/RadarChain.h</key>
@@ -276,7 +273,7 @@
276
273
  <dict>
277
274
  <key>hash2</key>
278
275
  <data>
279
- HEdRPNKZpplYIco8bSQuGOFtfongsUnJJ5VIchRqdt8=
276
+ vrB7h9dcpYJ9FCkLYRlbjZ1a+SOVVDFY4cmwXw9e2K8=
280
277
  </data>
281
278
  </dict>
282
279
  <key>Headers/RadarDelegate.h</key>
@@ -304,7 +301,7 @@
304
301
  <dict>
305
302
  <key>hash2</key>
306
303
  <data>
307
- C95qvtVkHUS0LYOwyWd2CNHYYq+I+CymDYUQrV+jG80=
304
+ z7kJj643tiFbmUxX7BkfjcMnUC2RYI/HZKTOZJoYDQo=
308
305
  </data>
309
306
  </dict>
310
307
  <key>Headers/RadarGeofenceGeometry.h</key>
@@ -339,7 +336,7 @@
339
336
  <dict>
340
337
  <key>hash2</key>
341
338
  <data>
342
- TuqVxb2tX9FgA+4ibflxv5VT/Ogunii7P4gHCs1mxy0=
339
+ H/r+xxzjSqe85IX94erU6oLXzeZDipAaEyeWOhT9y3E=
343
340
  </data>
344
341
  </dict>
345
342
  <key>Headers/RadarMotionProtocol.h</key>
@@ -430,21 +427,28 @@
430
427
  <dict>
431
428
  <key>hash2</key>
432
429
  <data>
433
- 19M6ZYj/AYCeR4dL4a0p+c8GLe/DPozIkPn8DjtMJvg=
430
+ U16B37td+sEMtTQr44ZNqk/VUWzv849UouNFPG4Q064=
434
431
  </data>
435
432
  </dict>
436
433
  <key>Headers/RadarSDK.h</key>
437
434
  <dict>
438
435
  <key>hash2</key>
439
436
  <data>
440
- cyMtBZS1yg37BtqGU39CQSawa81mew8NiCRykJlrZjY=
437
+ AV0O8lySri3Ai5c9uLR90TSG+N/zmN0x0wKI4jJ5AI4=
438
+ </data>
439
+ </dict>
440
+ <key>Headers/RadarSDKFraudProtocol.h</key>
441
+ <dict>
442
+ <key>hash2</key>
443
+ <data>
444
+ iqZFQESY6/jBotmnOnH6aD5i4nWgwmMAyDjrNi4vA14=
441
445
  </data>
442
446
  </dict>
443
447
  <key>Headers/RadarSdkConfiguration.h</key>
444
448
  <dict>
445
449
  <key>hash2</key>
446
450
  <data>
447
- ZZTeemjcIDhC7/PJNLbDbfSB0TUD99esLBxB4mJiG2U=
451
+ H7WN4uNZVwZe8y5SjmeJJloB+OYpIN9Yl+H5e+8F1SQ=
448
452
  </data>
449
453
  </dict>
450
454
  <key>Headers/RadarSegment.h</key>
@@ -465,35 +469,42 @@
465
469
  <dict>
466
470
  <key>hash2</key>
467
471
  <data>
468
- Pq6KMsTT35dULz9zxrQypaqp8JCSxPi1fvx4lzbFj8k=
472
+ pyiP6tRNWxtQAIQ4YgtPPf4mCBo9gsyz2kcd51wGzDc=
469
473
  </data>
470
474
  </dict>
471
475
  <key>Headers/RadarTrip.h</key>
472
476
  <dict>
473
477
  <key>hash2</key>
474
478
  <data>
475
- RzSnJQrKkTkUXPLVx6rzSpSx8kRE5hm4l1yeohhPSts=
479
+ YKFWvbTzA9MO4PeCDE0z7E0qBeTHtSIaVJ4aXAHZG5c=
480
+ </data>
481
+ </dict>
482
+ <key>Headers/RadarTripLeg.h</key>
483
+ <dict>
484
+ <key>hash2</key>
485
+ <data>
486
+ efYbwfqhJ13CbLgzrn4trxnDBBc0ZBN8ODV40gV8754=
476
487
  </data>
477
488
  </dict>
478
489
  <key>Headers/RadarTripOptions.h</key>
479
490
  <dict>
480
491
  <key>hash2</key>
481
492
  <data>
482
- r054Jhmtwo3ZSWP8cYXrwcEz8+Rwa0RwRoGg6dmvckk=
493
+ jjUn+JHppnidTmKdAuOJR20yfA93NyjG6UqQbyI8YrA=
483
494
  </data>
484
495
  </dict>
485
496
  <key>Headers/RadarTripOrder.h</key>
486
497
  <dict>
487
498
  <key>hash2</key>
488
499
  <data>
489
- CvPNzv5w5iEtsOexP6PNQzSTqed9+U+KyAZmc5VGPGo=
500
+ 7pUpy+xy5cYjD+HqmXu9iE1Ir8VNbYnqGczJqMXLC2E=
490
501
  </data>
491
502
  </dict>
492
503
  <key>Headers/RadarUser.h</key>
493
504
  <dict>
494
505
  <key>hash2</key>
495
506
  <data>
496
- BQ3/5H+NqZpgxPqzPZhBuyevljkNS1yS/aQj3l+e2mo=
507
+ hsEksrNdEOuZwtBOLCPDEmHQZajmc4TDJ16fXtB/bjg=
497
508
  </data>
498
509
  </dict>
499
510
  <key>Headers/RadarVerifiedDelegate.h</key>
@@ -514,77 +525,77 @@
514
525
  <dict>
515
526
  <key>hash2</key>
516
527
  <data>
517
- yUMCPNWYTZGrKdHyyc9EZPYRRQWdrt/RadrxmgJdJVI=
528
+ qxoP7wA/jyhHIWemEUClo6ASBQi4ICwGNq7l6tu/FA4=
518
529
  </data>
519
530
  </dict>
520
531
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
521
532
  <dict>
522
533
  <key>hash2</key>
523
534
  <data>
524
- R7nBIuTrlMyofkISq9Vfys+GCpV43BmWnOLzQk9NABw=
535
+ c3FDxZzEvNwmBqGvKGmdQM3QfyO2M0W4ADDwgW1Hofg=
525
536
  </data>
526
537
  </dict>
527
538
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
528
539
  <dict>
529
540
  <key>hash2</key>
530
541
  <data>
531
- VSkgbz9V9K47BP4DBR1Hm5PjMudDTZG4AODe4mxpu8Y=
542
+ syvTnEtQBkNF2gYX7pDmHzsRQhv5hTh94MY7EtkTenc=
532
543
  </data>
533
544
  </dict>
534
545
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
535
546
  <dict>
536
547
  <key>hash2</key>
537
548
  <data>
538
- R7nBIuTrlMyofkISq9Vfys+GCpV43BmWnOLzQk9NABw=
549
+ c3FDxZzEvNwmBqGvKGmdQM3QfyO2M0W4ADDwgW1Hofg=
539
550
  </data>
540
551
  </dict>
541
552
  <key>Modules/RadarSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
542
553
  <dict>
543
554
  <key>hash2</key>
544
555
  <data>
545
- OHRROxDNYrGBjLbSKCuMU7Oet30yw7WX6t8YxeUMVzM=
556
+ BvvvjncO/AzX+KMRbD7tpWR/eVajZTo1K7q7Uw6KZGY=
546
557
  </data>
547
558
  </dict>
548
559
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
549
560
  <dict>
550
561
  <key>hash2</key>
551
562
  <data>
552
- yUMCPNWYTZGrKdHyyc9EZPYRRQWdrt/RadrxmgJdJVI=
563
+ qxoP7wA/jyhHIWemEUClo6ASBQi4ICwGNq7l6tu/FA4=
553
564
  </data>
554
565
  </dict>
555
566
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
556
567
  <dict>
557
568
  <key>hash2</key>
558
569
  <data>
559
- M2bb6J15fPiD8NR48PWbiFRRwtCYEM9KQnDvb5R6N9o=
570
+ gZ7qp9tNAYUSsRJs7kM7Zg0jy/vzqWH0rMAA2G2MC1c=
560
571
  </data>
561
572
  </dict>
562
573
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
563
574
  <dict>
564
575
  <key>hash2</key>
565
576
  <data>
566
- oOvPAlhTJhyszEAI92NmQFZeVB0fX4gKhdZUtafTIcw=
577
+ Lv9qvrO6e6EMXo1DyNiEp6RpGpjPIH0E9cTwtIz1cHU=
567
578
  </data>
568
579
  </dict>
569
580
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
570
581
  <dict>
571
582
  <key>hash2</key>
572
583
  <data>
573
- M2bb6J15fPiD8NR48PWbiFRRwtCYEM9KQnDvb5R6N9o=
584
+ gZ7qp9tNAYUSsRJs7kM7Zg0jy/vzqWH0rMAA2G2MC1c=
574
585
  </data>
575
586
  </dict>
576
587
  <key>Modules/RadarSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
577
588
  <dict>
578
589
  <key>hash2</key>
579
590
  <data>
580
- y0Md0Bo313vSEhI4sKrhlyE4sQaSnVX7Zd1PSNVSA3A=
591
+ +zmLXcY+DQJnsUbYu99GwrJk5SOckk0cXmDHliJpIEM=
581
592
  </data>
582
593
  </dict>
583
594
  <key>Modules/module.modulemap</key>
584
595
  <dict>
585
596
  <key>hash2</key>
586
597
  <data>
587
- yWWsnYULfcEbRGaGGY+9M+GfiL7QzAQqv6mhPkL6oiw=
598
+ DqzUmV7ER43id816msJL8jj5dbR68GzoCf/o/Xa/Opo=
588
599
  </data>
589
600
  </dict>
590
601
  <key>PrivacyInfo.xcprivacy</key>
@@ -34,5 +34,3 @@
34
34
  + (NSString *)stringForMotionAuthorization;
35
35
 
36
36
  @end
37
-
38
-
@@ -6,11 +6,11 @@
6
6
  <dict>
7
7
  <key>Headers/RadarSDKMotion.h</key>
8
8
  <data>
9
- TTdH+oztQgL85yzLuN6MadxiubI=
9
+ 9nr2XMcQxTMPkIrbihxMljqU3Ys=
10
10
  </data>
11
11
  <key>Info.plist</key>
12
12
  <data>
13
- LcJIxb76JexGtJDrw825heelKGA=
13
+ BAdrSka+fLKfRWeH/NXhmNFdVhY=
14
14
  </data>
15
15
  <key>Modules/module.modulemap</key>
16
16
  <data>
@@ -23,7 +23,7 @@
23
23
  <dict>
24
24
  <key>hash2</key>
25
25
  <data>
26
- frhQv1PCSfn9aMPBoupkeUAz/MJG0sTxSRvnPHUnF3A=
26
+ 1bHc1k6BqM2QXokjhQY0O+TdHExUAoqn1A4/pCB2LYY=
27
27
  </data>
28
28
  </dict>
29
29
  <key>Modules/module.modulemap</key>
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.31.0",
6
+ "version": "4.1.0",
7
7
  "main": "dist/index.js",
8
8
  "files": [
9
9
  "dist",
@@ -56,10 +56,11 @@
56
56
  ]
57
57
  },
58
58
  "peerDependencies": {
59
- "@maplibre/maplibre-react-native": ">=10.2.1",
59
+ "@maplibre/maplibre-react-native": ">=11.0.0-beta.10",
60
60
  "expo": ">=43.0.5",
61
- "react": ">= 16.8.6",
62
- "react-native": ">= 0.60.0"
61
+ "react": ">= 19.1.0",
62
+ "react-native": ">= 0.80.0",
63
+ "react-native-safe-area-context": "^5.6.2"
63
64
  },
64
65
  "peerDependenciesMeta": {
65
66
  "@maplibre/maplibre-react-native": {
@@ -67,6 +68,9 @@
67
68
  },
68
69
  "expo": {
69
70
  "optional": true
71
+ },
72
+ "react-native-safe-area-context": {
73
+ "optional": true
70
74
  }
71
75
  },
72
76
  "devDependencies": {