@expofp/react-native-efp-crowdconnected 0.1.7 → 0.1.9

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 (91) hide show
  1. package/ExpofpCrowdconnected.podspec +1 -1
  2. package/README.md +67 -5
  3. package/android/build.gradle +4 -4
  4. package/android/src/main/java/com/expofpcrowdconnected/ExpoFpCrowdConnectedLocationProviderSettings.kt +24 -20
  5. package/android/src/main/java/com/expofpcrowdconnected/RCTCrowdConnectedLocationProviderModule.kt +112 -6
  6. package/ios/ExpoFpLocationProvider/ExpoFpCrowdConnectedLocationProviderSettings.swift +2 -2
  7. package/ios/ExpoFpLocationProvider/ExpoFpLocationSettings.swift +2 -2
  8. package/ios/ExpoFpLocationProvider/ExpoFpSimulationDelegate.swift +40 -0
  9. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64/CrowdConnectedCore.framework/CrowdConnectedCore +0 -0
  10. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64/CrowdConnectedCore.framework/Headers/CrowdConnectedCore-Swift.h +48 -0
  11. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64/CrowdConnectedCore.framework/Info.plist +0 -0
  12. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.abi.json +731 -363
  13. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.private.swiftinterface +13 -8
  14. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  15. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.swiftinterface +12 -7
  16. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64/CrowdConnectedCore.framework/_CodeSignature/CodeResources +13 -13
  17. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/CrowdConnectedCore +0 -0
  18. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/Headers/CrowdConnectedCore-Swift.h +96 -0
  19. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/Info.plist +0 -0
  20. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios-simulator.abi.json +731 -363
  21. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +13 -8
  22. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  23. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +12 -7
  24. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/x86_64-apple-ios-simulator.abi.json +731 -363
  25. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +13 -8
  26. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  27. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/Modules/CrowdConnectedCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +12 -7
  28. package/ios/Frameworks/CrowdConnectedCore.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCore.framework/_CodeSignature/CodeResources +23 -23
  29. package/ios/Frameworks/CrowdConnectedCoreBluetooth.xcframework/ios-arm64/CrowdConnectedCoreBluetooth.framework/CrowdConnectedCoreBluetooth +0 -0
  30. package/ios/Frameworks/CrowdConnectedCoreBluetooth.xcframework/ios-arm64/CrowdConnectedCoreBluetooth.framework/Modules/CrowdConnectedCoreBluetooth.swiftmodule/arm64-apple-ios.abi.json +10 -10
  31. package/ios/Frameworks/CrowdConnectedCoreBluetooth.xcframework/ios-arm64/CrowdConnectedCoreBluetooth.framework/_CodeSignature/CodeResources +4 -4
  32. package/ios/Frameworks/CrowdConnectedCoreBluetooth.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCoreBluetooth.framework/CrowdConnectedCoreBluetooth +0 -0
  33. package/ios/Frameworks/CrowdConnectedCoreBluetooth.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCoreBluetooth.framework/Modules/CrowdConnectedCoreBluetooth.swiftmodule/arm64-apple-ios-simulator.abi.json +10 -10
  34. package/ios/Frameworks/CrowdConnectedCoreBluetooth.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCoreBluetooth.framework/Modules/CrowdConnectedCoreBluetooth.swiftmodule/x86_64-apple-ios-simulator.abi.json +10 -10
  35. package/ios/Frameworks/CrowdConnectedCoreBluetooth.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedCoreBluetooth.framework/_CodeSignature/CodeResources +8 -8
  36. package/ios/Frameworks/CrowdConnectedGeo.xcframework/Info.plist +5 -5
  37. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64/CrowdConnectedGeo.framework/CrowdConnectedGeo +0 -0
  38. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64/CrowdConnectedGeo.framework/Modules/CrowdConnectedGeo.swiftmodule/arm64-apple-ios.abi.json +142 -33
  39. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64/CrowdConnectedGeo.framework/Modules/CrowdConnectedGeo.swiftmodule/arm64-apple-ios.private.swiftinterface +7 -0
  40. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64/CrowdConnectedGeo.framework/Modules/CrowdConnectedGeo.swiftmodule/arm64-apple-ios.swiftinterface +7 -0
  41. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64/CrowdConnectedGeo.framework/_CodeSignature/CodeResources +8 -8
  42. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedGeo.framework/CrowdConnectedGeo +0 -0
  43. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedGeo.framework/Modules/CrowdConnectedGeo.swiftmodule/arm64-apple-ios-simulator.abi.json +142 -33
  44. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedGeo.framework/Modules/CrowdConnectedGeo.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +7 -0
  45. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedGeo.framework/Modules/CrowdConnectedGeo.swiftmodule/arm64-apple-ios-simulator.swiftinterface +7 -0
  46. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedGeo.framework/Modules/CrowdConnectedGeo.swiftmodule/x86_64-apple-ios-simulator.abi.json +142 -33
  47. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedGeo.framework/Modules/CrowdConnectedGeo.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +7 -0
  48. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedGeo.framework/Modules/CrowdConnectedGeo.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +7 -0
  49. package/ios/Frameworks/CrowdConnectedGeo.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedGeo.framework/_CodeSignature/CodeResources +16 -16
  50. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64/CrowdConnectedIPS.framework/CrowdConnectedIPS +0 -0
  51. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/arm64-apple-ios.abi.json +251 -113
  52. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/arm64-apple-ios.private.swiftinterface +7 -2
  53. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  54. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/arm64-apple-ios.swiftinterface +7 -2
  55. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64/CrowdConnectedIPS.framework/_CodeSignature/CodeResources +10 -10
  56. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedIPS.framework/CrowdConnectedIPS +0 -0
  57. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/arm64-apple-ios-simulator.abi.json +251 -113
  58. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +7 -2
  59. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  60. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/arm64-apple-ios-simulator.swiftinterface +7 -2
  61. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/x86_64-apple-ios-simulator.abi.json +251 -113
  62. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +7 -2
  63. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  64. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedIPS.framework/Modules/CrowdConnectedIPS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +7 -2
  65. package/ios/Frameworks/CrowdConnectedIPS.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedIPS.framework/_CodeSignature/CodeResources +20 -20
  66. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64/CrowdConnectedShared.framework/CrowdConnectedShared +0 -0
  67. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/arm64-apple-ios.abi.json +904 -235
  68. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/arm64-apple-ios.private.swiftinterface +33 -3
  69. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  70. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/arm64-apple-ios.swiftinterface +31 -3
  71. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64/CrowdConnectedShared.framework/_CodeSignature/CodeResources +10 -10
  72. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedShared.framework/CrowdConnectedShared +0 -0
  73. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/arm64-apple-ios-simulator.abi.json +904 -235
  74. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +33 -3
  75. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  76. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/arm64-apple-ios-simulator.swiftinterface +31 -3
  77. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/x86_64-apple-ios-simulator.abi.json +904 -235
  78. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +33 -3
  79. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  80. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedShared.framework/Modules/CrowdConnectedShared.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +31 -3
  81. package/ios/Frameworks/CrowdConnectedShared.xcframework/ios-arm64_x86_64-simulator/CrowdConnectedShared.framework/_CodeSignature/CodeResources +20 -20
  82. package/ios/RCTCrowdConnectedLocationProvider.m +3 -0
  83. package/ios/RCTCrowdConnectedLocationProvider.swift +21 -3
  84. package/lib/module/crowdconnected-location-provider-native-module.js +30 -0
  85. package/lib/module/crowdconnected-location-provider-native-module.js.map +1 -1
  86. package/lib/typescript/src/crowdconnected-location-provider-native-module.d.ts.map +1 -1
  87. package/lib/typescript/src/types.d.ts +31 -2
  88. package/lib/typescript/src/types.d.ts.map +1 -1
  89. package/package.json +1 -1
  90. package/src/crowdconnected-location-provider-native-module.tsx +51 -0
  91. package/src/types.ts +33 -2
@@ -2,18 +2,11 @@
2
2
  // swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
3
3
  // swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name CrowdConnectedCore
4
4
  // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
5
- import SystemConfiguration.CaptiveNetwork
6
- import CommonCrypto
7
- import CoreBluetooth
8
5
  import CoreLocation
9
6
  @_exported import CrowdConnectedCore
10
- import CrowdConnectedShared
7
+ @_spi(CoreSDK) import CrowdConnectedShared
11
8
  import Foundation
12
- import SQLite3
13
9
  import Swift
14
- import SystemConfiguration
15
- import UIKit
16
- import UserNotifications
17
10
  import _Concurrency
18
11
  import _StringProcessing
19
12
  import _SwiftConcurrencyShims
@@ -146,6 +139,18 @@ extension CrowdConnectedCore.ErrorCode : Foundation.LocalizedError {
146
139
  get
147
140
  }
148
141
  }
142
+ extension CrowdConnectedCore.CrowdConnected {
143
+ @objc dynamic public func activateSimulation(token: Swift.String)
144
+ #if compiler(>=5.3) && $NonescapableTypes
145
+ @objc dynamic public func activateSimulation(token: Swift.String, callback: (any CrowdConnectedCore.SimulationCallback)?)
146
+ #endif
147
+ @objc dynamic public func deactivateSimulation()
148
+ }
149
+ @objc public protocol SimulationCallback {
150
+ @objc func onSimulationConnected()
151
+ @objc func onSimulationError(reason: Swift.String)
152
+ @objc func onSimulationDisconnected()
153
+ }
149
154
  @objc public protocol CrowdConnectedDelegate {
150
155
  @objc optional func locationProvider(_ crowdConnected: CrowdConnectedCore.CrowdConnected, didUpdateLocation location: CrowdConnectedCore.Location)
151
156
  @objc optional func locationProvider(_ crowdConnected: CrowdConnectedCore.CrowdConnected, didStartSuccess deviceId: CrowdConnectedCore.DeviceID)
@@ -2,18 +2,11 @@
2
2
  // swift-compiler-version: Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
3
3
  // swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name CrowdConnectedCore
4
4
  // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.4
5
- import SystemConfiguration.CaptiveNetwork
6
- import CommonCrypto
7
- import CoreBluetooth
8
5
  import CoreLocation
9
6
  @_exported import CrowdConnectedCore
10
7
  import CrowdConnectedShared
11
8
  import Foundation
12
- import SQLite3
13
9
  import Swift
14
- import SystemConfiguration
15
- import UIKit
16
- import UserNotifications
17
10
  import _Concurrency
18
11
  import _StringProcessing
19
12
  import _SwiftConcurrencyShims
@@ -146,6 +139,18 @@ extension CrowdConnectedCore.ErrorCode : Foundation.LocalizedError {
146
139
  get
147
140
  }
148
141
  }
142
+ extension CrowdConnectedCore.CrowdConnected {
143
+ @objc dynamic public func activateSimulation(token: Swift.String)
144
+ #if compiler(>=5.3) && $NonescapableTypes
145
+ @objc dynamic public func activateSimulation(token: Swift.String, callback: (any CrowdConnectedCore.SimulationCallback)?)
146
+ #endif
147
+ @objc dynamic public func deactivateSimulation()
148
+ }
149
+ @objc public protocol SimulationCallback {
150
+ @objc func onSimulationConnected()
151
+ @objc func onSimulationError(reason: Swift.String)
152
+ @objc func onSimulationDisconnected()
153
+ }
149
154
  @objc public protocol CrowdConnectedDelegate {
150
155
  @objc optional func locationProvider(_ crowdConnected: CrowdConnectedCore.CrowdConnected, didUpdateLocation location: CrowdConnectedCore.Location)
151
156
  @objc optional func locationProvider(_ crowdConnected: CrowdConnectedCore.CrowdConnected, didStartSuccess deviceId: CrowdConnectedCore.DeviceID)
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Headers/CrowdConnectedCore-Swift.h</key>
8
8
  <data>
9
- Av0LzlU4zfFjbdivzycPvMHnqsc=
9
+ 3AhY2I0PJeh0DZlNFPpiJbxLmns=
10
10
  </data>
11
11
  <key>Headers/CrowdConnectedCore.h</key>
12
12
  <data>
@@ -14,27 +14,27 @@
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- JF7PQyxnN2V1mfIIiTxz3OCcEkA=
17
+ LDfUPSvi9WtE5KYNZ5UKS9b2GE0=
18
18
  </data>
19
19
  <key>Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.abi.json</key>
20
20
  <data>
21
- bXmye0ZDwVOViRtz3PP+m1UdoNI=
21
+ 9JyNRRAIhBHLwoMlyNJyIjGBD5s=
22
22
  </data>
23
23
  <key>Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
24
24
  <data>
25
- pkunGqvIFQmzEffFUO9HlQ7w0tw=
25
+ y2pxZfcSzr2s4dlNMJ1hLE/2E/0=
26
26
  </data>
27
27
  <key>Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.swiftdoc</key>
28
28
  <data>
29
- wFZcXYBr7mIfWkPZiicvvVG6n/U=
29
+ 2k1qDyNon91KaT5Mg8A5g3ZdfjU=
30
30
  </data>
31
31
  <key>Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.swiftinterface</key>
32
32
  <data>
33
- pkunGqvIFQmzEffFUO9HlQ7w0tw=
33
+ mriBHzUKPP2M9jYeunBcpETzmeA=
34
34
  </data>
35
35
  <key>Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.swiftmodule</key>
36
36
  <data>
37
- OBwTBj6oeFxAfq1q73xmw4z/t4Y=
37
+ pmcIiEOIvU4junlZYoteF9X9mgs=
38
38
  </data>
39
39
  <key>Modules/module.modulemap</key>
40
40
  <data>
@@ -51,7 +51,7 @@
51
51
  <dict>
52
52
  <key>hash2</key>
53
53
  <data>
54
- lY8YlWiMV9vcUGCq2VIDrjzBz6vQn7luXr05unhBuOg=
54
+ jZeBIBaZWJN0fLIUNipW/lMGiPZ2xftz94HoVbOEFg8=
55
55
  </data>
56
56
  </dict>
57
57
  <key>Headers/CrowdConnectedCore.h</key>
@@ -65,35 +65,35 @@
65
65
  <dict>
66
66
  <key>hash2</key>
67
67
  <data>
68
- 414ONz+lmjWo7g9Khp3sew1ALd54C+uCH5o3j8+Y7nA=
68
+ KFYRXZhazZh5WgCvYOxGhXDh/4cPYZ/OcOmj/X8m9O4=
69
69
  </data>
70
70
  </dict>
71
71
  <key>Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
72
72
  <dict>
73
73
  <key>hash2</key>
74
74
  <data>
75
- 7AsjsPMNpZR7lJg3krX3yxf31WfDx5qwwrJLYrbmGb8=
75
+ vnm/Hf7/L1WGWuFYC1gw+63DMM/zP/8/I2QspWH9XFQ=
76
76
  </data>
77
77
  </dict>
78
78
  <key>Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.swiftdoc</key>
79
79
  <dict>
80
80
  <key>hash2</key>
81
81
  <data>
82
- dYV8Wb3tlRdY1WbJ3s5wDdrGG9zWY1wdDo6Og17aQCA=
82
+ 9h3ouzHvwIUWm1TQhnED6N35A7FT5cFPLWqIsJAkHoo=
83
83
  </data>
84
84
  </dict>
85
85
  <key>Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.swiftinterface</key>
86
86
  <dict>
87
87
  <key>hash2</key>
88
88
  <data>
89
- 7AsjsPMNpZR7lJg3krX3yxf31WfDx5qwwrJLYrbmGb8=
89
+ UaFsHUB/NAOLnveQrgfuPynK1nrbj4b1UDu/6DEaNaw=
90
90
  </data>
91
91
  </dict>
92
92
  <key>Modules/CrowdConnectedCore.swiftmodule/arm64-apple-ios.swiftmodule</key>
93
93
  <dict>
94
94
  <key>hash2</key>
95
95
  <data>
96
- ftEu/9rtvPL8bhwCroDExj5aoO15EzBspXqLpNnpNDE=
96
+ Ipa+yloYTRM7qEOmmVmTrW+tzy4ILkVVGxfVph0OOxo=
97
97
  </data>
98
98
  </dict>
99
99
  <key>Modules/module.modulemap</key>
@@ -631,6 +631,35 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) CrowdConnect
631
631
  - (Configuration * _Nullable)getCurrentConfiguration SWIFT_WARN_UNUSED_RESULT;
632
632
  @end
633
633
 
634
+ @protocol SimulationCallback;
635
+ @interface CrowdConnected (SWIFT_EXTENSION(CrowdConnectedCore))
636
+ /// Activates a simulation session using the provided JWT token.
637
+ /// The SDK must already be started before calling this method.
638
+ /// A second call replaces any existing session (the previous one is deactivated first).
639
+ /// since:
640
+ /// 3.1.0
641
+ /// \param token A signed JWT containing the <code>sid</code> (session ID) and <code>exp</code> claims.
642
+ ///
643
+ - (void)activateSimulationWithToken:(NSString * _Nonnull)token;
644
+ /// Activates a simulation session with an optional callback for session events.
645
+ /// The SDK must already be started before calling this method.
646
+ /// A second call replaces any existing session (the previous one is deactivated first).
647
+ /// All callbacks fire on a background thread — marshal to the main thread if you need to update UI.
648
+ /// since:
649
+ /// 3.1.0
650
+ /// \param token A signed JWT containing the <code>sid</code> (session ID) and <code>exp</code> claims.
651
+ ///
652
+ /// \param callback An optional object that receives connection, error, and disconnection events.
653
+ ///
654
+ - (void)activateSimulationWithToken:(NSString * _Nonnull)token callback:(id <SimulationCallback> _Nullable)callback;
655
+ /// Stops any active simulation session.
656
+ /// Safe to call at any time, including when no session is active.
657
+ /// <code>onSimulationDisconnected</code> is <em>not</em> called when you stop the session explicitly.
658
+ /// since:
659
+ /// 3.1.0
660
+ - (void)deactivateSimulation;
661
+ @end
662
+
634
663
  enum ErrorCode : NSInteger;
635
664
  /// A delegate protocol for receiving callbacks from the CrowdConnected SDK.
636
665
  /// Implement this protocol to receive location updates, success notifications, and error callbacks from the SDK.
@@ -753,6 +782,25 @@ typedef SWIFT_ENUM(NSInteger, Module, open) {
753
782
  ModuleCoreBluetooth = 2,
754
783
  };
755
784
 
785
+ /// Receives lifecycle events from an active simulation session.
786
+ /// All methods are called on a background thread.
787
+ /// Marshal to the main thread if you need to update UI.
788
+ /// since:
789
+ /// 3.1.0
790
+ SWIFT_PROTOCOL("_TtP18CrowdConnectedCore18SimulationCallback_")
791
+ @protocol SimulationCallback
792
+ /// The AppSync subscription is live and simulation events will begin flowing.
793
+ - (void)onSimulationConnected;
794
+ /// A connection or subscription problem occurred (network error, expired token, invalid session, etc.).
795
+ /// \param reason A human-readable description of the failure.
796
+ ///
797
+ - (void)onSimulationErrorWithReason:(NSString * _Nonnull)reason;
798
+ /// The session ended — either the server sent <code>SESSION_ENDED</code>, the subscription completed,
799
+ /// or the WebSocket closed unexpectedly.
800
+ /// Not called when you explicitly call <code>deactivateSimulation()</code>.
801
+ - (void)onSimulationDisconnected;
802
+ @end
803
+
756
804
  #endif
757
805
  #if __has_attribute(external_source_symbol)
758
806
  # pragma clang attribute pop
@@ -1394,6 +1442,35 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) CrowdConnect
1394
1442
  - (Configuration * _Nullable)getCurrentConfiguration SWIFT_WARN_UNUSED_RESULT;
1395
1443
  @end
1396
1444
 
1445
+ @protocol SimulationCallback;
1446
+ @interface CrowdConnected (SWIFT_EXTENSION(CrowdConnectedCore))
1447
+ /// Activates a simulation session using the provided JWT token.
1448
+ /// The SDK must already be started before calling this method.
1449
+ /// A second call replaces any existing session (the previous one is deactivated first).
1450
+ /// since:
1451
+ /// 3.1.0
1452
+ /// \param token A signed JWT containing the <code>sid</code> (session ID) and <code>exp</code> claims.
1453
+ ///
1454
+ - (void)activateSimulationWithToken:(NSString * _Nonnull)token;
1455
+ /// Activates a simulation session with an optional callback for session events.
1456
+ /// The SDK must already be started before calling this method.
1457
+ /// A second call replaces any existing session (the previous one is deactivated first).
1458
+ /// All callbacks fire on a background thread — marshal to the main thread if you need to update UI.
1459
+ /// since:
1460
+ /// 3.1.0
1461
+ /// \param token A signed JWT containing the <code>sid</code> (session ID) and <code>exp</code> claims.
1462
+ ///
1463
+ /// \param callback An optional object that receives connection, error, and disconnection events.
1464
+ ///
1465
+ - (void)activateSimulationWithToken:(NSString * _Nonnull)token callback:(id <SimulationCallback> _Nullable)callback;
1466
+ /// Stops any active simulation session.
1467
+ /// Safe to call at any time, including when no session is active.
1468
+ /// <code>onSimulationDisconnected</code> is <em>not</em> called when you stop the session explicitly.
1469
+ /// since:
1470
+ /// 3.1.0
1471
+ - (void)deactivateSimulation;
1472
+ @end
1473
+
1397
1474
  enum ErrorCode : NSInteger;
1398
1475
  /// A delegate protocol for receiving callbacks from the CrowdConnected SDK.
1399
1476
  /// Implement this protocol to receive location updates, success notifications, and error callbacks from the SDK.
@@ -1516,6 +1593,25 @@ typedef SWIFT_ENUM(NSInteger, Module, open) {
1516
1593
  ModuleCoreBluetooth = 2,
1517
1594
  };
1518
1595
 
1596
+ /// Receives lifecycle events from an active simulation session.
1597
+ /// All methods are called on a background thread.
1598
+ /// Marshal to the main thread if you need to update UI.
1599
+ /// since:
1600
+ /// 3.1.0
1601
+ SWIFT_PROTOCOL("_TtP18CrowdConnectedCore18SimulationCallback_")
1602
+ @protocol SimulationCallback
1603
+ /// The AppSync subscription is live and simulation events will begin flowing.
1604
+ - (void)onSimulationConnected;
1605
+ /// A connection or subscription problem occurred (network error, expired token, invalid session, etc.).
1606
+ /// \param reason A human-readable description of the failure.
1607
+ ///
1608
+ - (void)onSimulationErrorWithReason:(NSString * _Nonnull)reason;
1609
+ /// The session ended — either the server sent <code>SESSION_ENDED</code>, the subscription completed,
1610
+ /// or the WebSocket closed unexpectedly.
1611
+ /// Not called when you explicitly call <code>deactivateSimulation()</code>.
1612
+ - (void)onSimulationDisconnected;
1613
+ @end
1614
+
1519
1615
  #endif
1520
1616
  #if __has_attribute(external_source_symbol)
1521
1617
  # pragma clang attribute pop