spotny-sdk 0.2.7 → 0.2.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.
package/SpotnySdk.podspec CHANGED
@@ -27,7 +27,10 @@ Pod::Spec.new do |s|
27
27
 
28
28
 
29
29
  s.pod_target_xcconfig = {
30
- "SWIFT_VERSION" => "5.0"
30
+ "SWIFT_VERSION" => "5.0",
31
+ # KontaktSDK headers use @import internally — enable modules for ObjC++ compatibility
32
+ "CLANG_ENABLE_MODULES" => "YES",
33
+ "CLANG_ENABLE_OBJC_ARC" => "YES"
31
34
  }
32
35
 
33
36
  install_modules_dependencies(s)
package/ios/SpotnySdk.h CHANGED
@@ -3,7 +3,7 @@
3
3
  // Required so that the auto-generated SpotnySdk-Swift.h can reference
4
4
  // CLLocationManagerDelegate and KTKBeaconManagerDelegate from any ObjC context.
5
5
  #import <CoreLocation/CoreLocation.h>
6
- @import KontaktSDK;
6
+ #import <KontaktSDK/KontaktSDK.h>
7
7
 
8
8
  /**
9
9
  * SpotnySdk is both a Turbo Module (NativeSpotnySdkSpec) and an RCTEventEmitter
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spotny-sdk",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "Beacon Scanner",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",