barkoder-nativescript 1.5.1 → 1.5.2

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 (22) hide show
  1. package/README.md +115 -0
  2. package/package.json +1 -1
  3. package/platforms/android/barkoder.aar +0 -0
  4. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/BarkoderSDK +0 -0
  5. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +5 -1
  6. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Info.plist +0 -0
  7. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.abi.json +518 -3612
  8. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +18 -18
  9. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  10. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftinterface +18 -18
  11. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/BarkoderSDK +0 -0
  12. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +10 -2
  13. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Info.plist +0 -0
  14. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +518 -3612
  15. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +18 -18
  16. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  17. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +18 -18
  18. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +518 -3612
  19. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +18 -18
  20. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  21. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +18 -18
  22. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/_CodeSignature/CodeResources +23 -23
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
3
- // swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BarkoderSDK
4
- // swift-module-flags-ignorable: -enable-bare-slash-regex
2
+ // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
+ // swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name BarkoderSDK
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface
5
5
  import AVFoundation
6
6
  import Barkoder
7
7
  @_exported import BarkoderSDK
@@ -66,7 +66,7 @@ extension UIKit.UIImage {
66
66
  @objc public protocol BarkoderPerformanceDelegate {
67
67
  @objc optional func performanceReceived(fps: Swift.Float, dps: Swift.Float)
68
68
  }
69
- @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor(unsafe) public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
69
+ @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor @preconcurrency public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
70
70
  @objc public enum BarkoderResolution : Swift.Int {
71
71
  case normal
72
72
  case high
@@ -76,23 +76,23 @@ extension UIKit.UIImage {
76
76
  get
77
77
  }
78
78
  }
79
- @objc @_Concurrency.MainActor(unsafe) public var config: BarkoderSDK.BarkoderConfig? {
79
+ @objc @_Concurrency.MainActor @preconcurrency public var config: BarkoderSDK.BarkoderConfig? {
80
80
  @objc get
81
81
  @objc set
82
82
  }
83
- @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
84
- @objc @_Concurrency.MainActor(unsafe) public func startCamera()
85
- @objc @_Concurrency.MainActor(unsafe) public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
86
- @objc @_Concurrency.MainActor(unsafe) public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
87
- @objc @_Concurrency.MainActor(unsafe) public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
88
- @objc @_Concurrency.MainActor(unsafe) public func stopScanning()
89
- @objc @_Concurrency.MainActor(unsafe) public func pauseScanning()
90
- @objc @_Concurrency.MainActor(unsafe) public func setZoomFactor(_ zoomFactor: Swift.Float)
91
- @objc @_Concurrency.MainActor(unsafe) public func setFlash(_ enabled: Swift.Bool)
92
- @objc @_Concurrency.MainActor(unsafe) public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
93
- @objc @_Concurrency.MainActor(unsafe) public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
94
- @_Concurrency.MainActor(unsafe) @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
95
- @_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
83
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
84
+ @objc @_Concurrency.MainActor @preconcurrency public func startCamera()
85
+ @objc @_Concurrency.MainActor @preconcurrency public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
86
+ @objc @_Concurrency.MainActor @preconcurrency public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
87
+ @objc @_Concurrency.MainActor @preconcurrency public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
88
+ @objc @_Concurrency.MainActor @preconcurrency public func stopScanning()
89
+ @objc @_Concurrency.MainActor @preconcurrency public func pauseScanning()
90
+ @objc @_Concurrency.MainActor @preconcurrency public func setZoomFactor(_ zoomFactor: Swift.Float)
91
+ @objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
92
+ @objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
93
+ @objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
94
+ @_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
95
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
96
96
  @objc deinit
97
97
  }
98
98
  extension CoreFoundation.CGRect {
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
3
- // swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BarkoderSDK
4
- // swift-module-flags-ignorable: -enable-bare-slash-regex
2
+ // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
+ // swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name BarkoderSDK
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface
5
5
  import AVFoundation
6
6
  import Barkoder
7
7
  @_exported import BarkoderSDK
@@ -66,7 +66,7 @@ extension UIKit.UIImage {
66
66
  @objc public protocol BarkoderPerformanceDelegate {
67
67
  @objc optional func performanceReceived(fps: Swift.Float, dps: Swift.Float)
68
68
  }
69
- @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor(unsafe) public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
69
+ @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor @preconcurrency public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
70
70
  @objc public enum BarkoderResolution : Swift.Int {
71
71
  case normal
72
72
  case high
@@ -76,23 +76,23 @@ extension UIKit.UIImage {
76
76
  get
77
77
  }
78
78
  }
79
- @objc @_Concurrency.MainActor(unsafe) public var config: BarkoderSDK.BarkoderConfig? {
79
+ @objc @_Concurrency.MainActor @preconcurrency public var config: BarkoderSDK.BarkoderConfig? {
80
80
  @objc get
81
81
  @objc set
82
82
  }
83
- @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
84
- @objc @_Concurrency.MainActor(unsafe) public func startCamera()
85
- @objc @_Concurrency.MainActor(unsafe) public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
86
- @objc @_Concurrency.MainActor(unsafe) public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
87
- @objc @_Concurrency.MainActor(unsafe) public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
88
- @objc @_Concurrency.MainActor(unsafe) public func stopScanning()
89
- @objc @_Concurrency.MainActor(unsafe) public func pauseScanning()
90
- @objc @_Concurrency.MainActor(unsafe) public func setZoomFactor(_ zoomFactor: Swift.Float)
91
- @objc @_Concurrency.MainActor(unsafe) public func setFlash(_ enabled: Swift.Bool)
92
- @objc @_Concurrency.MainActor(unsafe) public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
93
- @objc @_Concurrency.MainActor(unsafe) public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
94
- @_Concurrency.MainActor(unsafe) @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
95
- @_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
83
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
84
+ @objc @_Concurrency.MainActor @preconcurrency public func startCamera()
85
+ @objc @_Concurrency.MainActor @preconcurrency public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
86
+ @objc @_Concurrency.MainActor @preconcurrency public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
87
+ @objc @_Concurrency.MainActor @preconcurrency public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
88
+ @objc @_Concurrency.MainActor @preconcurrency public func stopScanning()
89
+ @objc @_Concurrency.MainActor @preconcurrency public func pauseScanning()
90
+ @objc @_Concurrency.MainActor @preconcurrency public func setZoomFactor(_ zoomFactor: Swift.Float)
91
+ @objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
92
+ @objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
93
+ @objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
94
+ @_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
95
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
96
96
  @objc deinit
97
97
  }
98
98
  extension CoreFoundation.CGRect {
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
3
+ // Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
4
4
  #ifndef BARKODERSDK_SWIFT_H
5
5
  #define BARKODERSDK_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -42,6 +42,8 @@
42
42
  #include <string.h>
43
43
  #endif
44
44
  #if defined(__cplusplus)
45
+ #pragma clang diagnostic push
46
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
45
47
  #if defined(__arm64e__) && __has_include(<ptrauth.h>)
46
48
  # include <ptrauth.h>
47
49
  #else
@@ -55,6 +57,7 @@
55
57
  # endif
56
58
  #pragma clang diagnostic pop
57
59
  #endif
60
+ #pragma clang diagnostic pop
58
61
  #endif
59
62
 
60
63
  #if !defined(SWIFT_TYPEDEFS)
@@ -294,6 +297,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
294
297
  #pragma clang diagnostic ignored "-Wunknown-pragmas"
295
298
  #pragma clang diagnostic ignored "-Wnullability"
296
299
  #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
300
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
297
301
 
298
302
  #if __has_attribute(external_source_symbol)
299
303
  # pragma push_macro("any")
@@ -543,7 +547,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
543
547
  #endif
544
548
 
545
549
  #elif defined(__x86_64__) && __x86_64__
546
- // Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
550
+ // Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
547
551
  #ifndef BARKODERSDK_SWIFT_H
548
552
  #define BARKODERSDK_SWIFT_H
549
553
  #pragma clang diagnostic push
@@ -585,6 +589,8 @@ typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
585
589
  #include <string.h>
586
590
  #endif
587
591
  #if defined(__cplusplus)
592
+ #pragma clang diagnostic push
593
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
588
594
  #if defined(__arm64e__) && __has_include(<ptrauth.h>)
589
595
  # include <ptrauth.h>
590
596
  #else
@@ -598,6 +604,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
598
604
  # endif
599
605
  #pragma clang diagnostic pop
600
606
  #endif
607
+ #pragma clang diagnostic pop
601
608
  #endif
602
609
 
603
610
  #if !defined(SWIFT_TYPEDEFS)
@@ -837,6 +844,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
837
844
  #pragma clang diagnostic ignored "-Wunknown-pragmas"
838
845
  #pragma clang diagnostic ignored "-Wnullability"
839
846
  #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
847
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
840
848
 
841
849
  #if __has_attribute(external_source_symbol)
842
850
  # pragma push_macro("any")