spotny-sdk 0.2.6 → 0.2.7

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/ios/SpotnySdk.h CHANGED
@@ -1,5 +1,9 @@
1
1
  #import <SpotnySdkSpec/SpotnySdkSpec.h>
2
2
  #import <React/RCTEventEmitter.h>
3
+ // Required so that the auto-generated SpotnySdk-Swift.h can reference
4
+ // CLLocationManagerDelegate and KTKBeaconManagerDelegate from any ObjC context.
5
+ #import <CoreLocation/CoreLocation.h>
6
+ @import KontaktSDK;
3
7
 
4
8
  /**
5
9
  * SpotnySdk is both a Turbo Module (NativeSpotnySdkSpec) and an RCTEventEmitter
package/ios/SpotnySdk.mm CHANGED
@@ -1,9 +1,6 @@
1
1
  #import "SpotnySdk.h"
2
- // Import frameworks needed by the auto-generated SpotnySdk-Swift.h
3
- // (it exposes CLLocationManagerDelegate and KTKBeaconManagerDelegate conformances)
4
- #import <CoreLocation/CoreLocation.h>
5
- @import KontaktSDK;
6
2
  // Auto-generated Swift header (contains SpotnyBeaconScanner)
3
+ // CoreLocation and KontaktSDK are already imported via SpotnySdk.h
7
4
  #import "SpotnySdk-Swift.h"
8
5
 
9
6
  @implementation SpotnySdk {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spotny-sdk",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Beacon Scanner",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",