@thegrizzlylabs/react-native-genius-scan 5.2.0 → 5.3.1

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 (36) hide show
  1. package/README.md +2 -2
  2. package/android/build.gradle +1 -1
  3. package/ios/GSSDK/GSSDK.xcframework/Info.plist +5 -5
  4. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Assets.car +0 -0
  5. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
  6. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKDefaultLogLevel.h +2 -0
  7. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKView.h +4 -2
  8. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +36 -4
  9. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK.h +1 -2
  10. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
  11. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +2086 -595
  12. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +70 -64
  13. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  14. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +70 -64
  15. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
  16. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
  17. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Assets.car +0 -0
  18. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
  19. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKDefaultLogLevel.h +2 -0
  20. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKView.h +4 -2
  21. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +72 -8
  22. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK.h +1 -2
  23. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
  24. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +2086 -595
  25. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +70 -64
  26. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  27. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +70 -64
  28. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +2086 -595
  29. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +70 -64
  30. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  31. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +70 -64
  32. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
  33. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
  34. package/package.json +1 -1
  35. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKCore.h +0 -52
  36. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKCore.h +0 -52
@@ -1,6 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
2
+ // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
3
  // swift-module-flags: -target x86_64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name GSSDK
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface
4
5
  import AVFoundation
5
6
  import Combine
6
7
  import Contacts
@@ -26,6 +27,15 @@ import _SwiftConcurrencyShims
26
27
  }
27
28
  extension AVFoundation.AVCapturePhoto : GSSDK.CGImageRepresentable {
28
29
  }
30
+ @objc @_inheritsConvenienceInitializers @objcMembers final public class GSK : ObjectiveC.NSObject {
31
+ @objc public static var sdkVersion: Swift.String {
32
+ @objc get
33
+ }
34
+ @objc public static func setLicenseKey(_ licenseKey: Swift.String)
35
+ @objc public static func setLicenseKey(_ licenseKey: Swift.String, autoRefresh: Swift.Bool)
36
+ @objc override dynamic public init()
37
+ @objc deinit
38
+ }
29
39
  extension GSSDK.GSKBackgroundKind : Swift.CustomStringConvertible {
30
40
  public var description: Swift.String {
31
41
  get
@@ -46,6 +56,9 @@ extension GSSDK.GSKBackgroundKind : Swift.CustomStringConvertible {
46
56
  @objc public var supportsFlash: Swift.Bool {
47
57
  @objc get
48
58
  }
59
+ @objc public var captureSessionQueue: Dispatch.DispatchQueue? {
60
+ get
61
+ }
49
62
  @objc convenience public init(configuration: GSSDK.GSKCameraSessionConfiguration)
50
63
  @objc deinit
51
64
  @objc(pauseSession) public func pause()
@@ -102,58 +115,58 @@ extension GSSDK.GSKCameraSession : AVFoundation.AVCapturePhotoCaptureDelegate {
102
115
  get
103
116
  }
104
117
  }
105
- @objc @_Concurrency.MainActor(unsafe) open class GSKCameraViewController : UIKit.UIViewController {
106
- @_Concurrency.MainActor(unsafe) public var captureView: GSSDK.GSKView {
118
+ @objc @_Concurrency.MainActor @preconcurrency open class GSKCameraViewController : UIKit.UIViewController {
119
+ @_Concurrency.MainActor @preconcurrency public var captureView: GSSDK.GSKView {
107
120
  get
108
121
  }
109
- @_Concurrency.MainActor(unsafe) public var shutterView: GSSDK.GSKShutterView {
122
+ @_Concurrency.MainActor @preconcurrency public var shutterView: GSSDK.GSKShutterView {
110
123
  get
111
124
  }
112
- @_Concurrency.MainActor(unsafe) public var overlayColor: UIKit.UIColor {
125
+ @_Concurrency.MainActor @preconcurrency public var overlayColor: UIKit.UIColor {
113
126
  get
114
127
  set
115
128
  }
116
- @_Concurrency.MainActor(unsafe) public var cameraView: UIKit.UIView {
129
+ @_Concurrency.MainActor @preconcurrency public var cameraView: UIKit.UIView {
117
130
  get
118
131
  }
119
- @_Concurrency.MainActor(unsafe) final public let cameraSession: GSSDK.GSKCameraSession
132
+ @_Concurrency.MainActor @preconcurrency final public let cameraSession: GSSDK.GSKCameraSession
120
133
  @available(*, unavailable)
121
- @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
122
- @_Concurrency.MainActor(unsafe) public init(cameraSession: GSSDK.GSKCameraSession)
134
+ @_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
135
+ @_Concurrency.MainActor @preconcurrency public init(cameraSession: GSSDK.GSKCameraSession)
123
136
  @objc deinit
124
- @_Concurrency.MainActor(unsafe) @objc override dynamic open var prefersStatusBarHidden: Swift.Bool {
137
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open var prefersStatusBarHidden: Swift.Bool {
125
138
  @objc get
126
139
  }
127
- @_Concurrency.MainActor(unsafe) @objc override dynamic open func loadView()
128
- @_Concurrency.MainActor(unsafe) @objc override dynamic open func viewDidLoad()
129
- @_Concurrency.MainActor(unsafe) @objc override dynamic open func viewWillAppear(_ animated: Swift.Bool)
130
- @_Concurrency.MainActor(unsafe) @objc override dynamic open func viewWillDisappear(_ animated: Swift.Bool)
131
- @_Concurrency.MainActor(unsafe) @objc override dynamic open func viewWillTransition(to size: CoreFoundation.CGSize, with coordinator: any UIKit.UIViewControllerTransitionCoordinator)
140
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open func loadView()
141
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewDidLoad()
142
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillAppear(_ animated: Swift.Bool)
143
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillDisappear(_ animated: Swift.Bool)
144
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillTransition(to size: CoreFoundation.CGSize, with coordinator: any UIKit.UIViewControllerTransitionCoordinator)
132
145
  }
133
146
  extension GSSDK.GSKCameraViewController {
134
- @objc @_Concurrency.MainActor(unsafe) dynamic open func takePhoto()
147
+ @objc @_Concurrency.MainActor @preconcurrency dynamic open func takePhoto()
135
148
  }
136
149
  extension GSSDK.GSKCameraViewController {
137
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionDidSetup(_ cameraSession: GSSDK.GSKCameraSession)
138
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, setupFailedWithError error: any Swift.Error)
139
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionWillSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
140
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionDidSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
141
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFailToSnapPhotoWithError error: any Swift.Error)
142
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didGenerateScan scan: GSSDK.GSKScan)
143
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didEncounterFailureWithError error: any Swift.Error)
144
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFailWithError error: any Swift.Error)
145
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionIsSearchingQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
146
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionIsAboutToChooseQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
147
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, willAutoTriggerWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
148
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFindQuadrangle quadrangle: GSSDK.GSKQuadrangle)
149
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionFailedToFindQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
150
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionDidStart(_ cameraSession: GSSDK.GSKCameraSession)
151
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionDidStop(_ cameraSession: GSSDK.GSKCameraSession)
152
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, wasInterruptedWithReason reason: AVFoundation.AVCaptureSession.InterruptionReason)
153
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionInterruptionEnded(_ cameraSession: GSSDK.GSKCameraSession)
150
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionDidSetup(_ cameraSession: GSSDK.GSKCameraSession)
151
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, setupFailedWithError error: any Swift.Error)
152
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionWillSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
153
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionDidSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
154
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFailToSnapPhotoWithError error: any Swift.Error)
155
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didGenerateScan scan: GSSDK.GSKScan)
156
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didEncounterFailureWithError error: any Swift.Error)
157
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFailWithError error: any Swift.Error)
158
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionIsSearchingQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
159
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionIsAboutToChooseQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
160
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, willAutoTriggerWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
161
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFindQuadrangle quadrangle: GSSDK.GSKQuadrangle)
162
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionFailedToFindQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
163
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionDidStart(_ cameraSession: GSSDK.GSKCameraSession)
164
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionDidStop(_ cameraSession: GSSDK.GSKCameraSession)
165
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, wasInterruptedWithReason reason: AVFoundation.AVCaptureSession.InterruptionReason)
166
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionInterruptionEnded(_ cameraSession: GSSDK.GSKCameraSession)
154
167
  }
155
168
  extension GSSDK.GSKCameraViewController : GSSDK.GSKViewDelegate {
156
- @_Concurrency.MainActor(unsafe) @objc dynamic public func cameraView(_ cameraView: GSSDK.GSKView, requestedFocusAt focusPoint: CoreFoundation.CGPoint)
169
+ @_Concurrency.MainActor @preconcurrency @objc dynamic public func cameraView(_ cameraView: GSSDK.GSKView, requestedFocusAt focusPoint: CoreFoundation.CGPoint)
157
170
  }
158
171
  extension GSSDK.GSKDocumentComposition : Swift.CustomStringConvertible {
159
172
  public var description: Swift.String {
@@ -307,7 +320,7 @@ extension GSSDK.GSKFilterLightingCorrectionConfiguration {
307
320
  public init?(rawValue: Swift.Int)
308
321
  public typealias AllCases = [GSSDK.GSKReceiptCategory]
309
322
  public typealias RawValue = Swift.Int
310
- public static var allCases: [GSSDK.GSKReceiptCategory] {
323
+ nonisolated public static var allCases: [GSSDK.GSKReceiptCategory] {
311
324
  get
312
325
  }
313
326
  public var rawValue: Swift.Int {
@@ -443,7 +456,7 @@ public struct GSSDKImages {
443
456
  get
444
457
  }
445
458
  @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
446
- public var swiftUIImage: SwiftUI.Image {
459
+ public var swiftUIImage: SwiftUICore.Image {
447
460
  get
448
461
  }
449
462
  }
@@ -452,9 +465,9 @@ extension UIKit.UIImage {
452
465
  convenience public init?(asset: GSSDK.GSSDKImages)
453
466
  }
454
467
  @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
455
- extension SwiftUI.Image {
468
+ extension SwiftUICore.Image {
456
469
  public init(asset: GSSDK.GSSDKImages)
457
- public init(asset: GSSDK.GSSDKImages, label: SwiftUI.Text)
470
+ public init(asset: GSSDK.GSSDKImages, label: SwiftUICore.Text)
458
471
  public init(decorative asset: GSSDK.GSSDKImages)
459
472
  }
460
473
  @_inheritsConvenienceInitializers @objc public class GSSDKResources : ObjectiveC.NSObject {
@@ -546,9 +559,7 @@ public enum GSSDKStrings {
546
559
  @_inheritsConvenienceInitializers @objc final public class GSKOCR : ObjectiveC.NSObject {
547
560
  @objc public init(logger: any GSSDK.GSKLogger)
548
561
  @objc override convenience dynamic public init()
549
- #if compiler(>=5.3) && $AsyncAwait
550
562
  @objc final public func recognizeText(forImageAtPath imagePath: Swift.String, ocrConfiguration configuration: GSSDK.GSKOCRConfiguration, onProgress progressBlock: ((Swift.Float) -> Swift.Void)?) async throws -> GSSDK.GSKOCRResult
551
- #endif
552
563
  @objc deinit
553
564
  }
554
565
  public struct GSKOCRLanguage {
@@ -569,23 +580,21 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
569
580
  }
570
581
  }
571
582
  @objc extension GSSDK.GSKView {
572
- @objc @_Concurrency.MainActor(unsafe) dynamic public func startSearchAnimation()
573
- @objc @_Concurrency.MainActor(unsafe) dynamic public func startSnapAnimation(withDuration duration: Foundation.TimeInterval)
574
- @objc @_Concurrency.MainActor(unsafe) dynamic public func endSnapAnimation()
583
+ @objc @_Concurrency.MainActor @preconcurrency dynamic public func startSearchAnimation()
584
+ @objc @_Concurrency.MainActor @preconcurrency dynamic public func startSnapAnimation(withDuration duration: Foundation.TimeInterval)
585
+ @objc @_Concurrency.MainActor @preconcurrency dynamic public func endSnapAnimation()
575
586
  }
576
587
  @objc extension UIKit.UIViewController {
577
- @objc(gsk_statusBarStyleBasedOnContrast) @_Concurrency.MainActor(unsafe) dynamic public var statusBarStyleBasedOnContrast: UIKit.UIStatusBarStyle {
588
+ @objc(gsk_statusBarStyleBasedOnContrast) @_Concurrency.MainActor @preconcurrency dynamic public var statusBarStyleBasedOnContrast: UIKit.UIStatusBarStyle {
578
589
  @objc get
579
590
  }
580
- @objc(gsk_supportedInterfaceOrientations) @_Concurrency.MainActor(unsafe) dynamic public var deviceSupportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask {
591
+ @objc(gsk_supportedInterfaceOrientations) @_Concurrency.MainActor @preconcurrency dynamic public var deviceSupportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask {
581
592
  @objc get
582
593
  }
583
594
  }
584
595
  @objc @objcMembers @_Concurrency.MainActor final public class GSKScanFlow : ObjectiveC.NSObject {
585
596
  @objc @_Concurrency.MainActor public init(configuration: GSSDK.GSKScanFlowConfiguration)
586
- #if compiler(>=5.3) && $AsyncAwait
587
597
  @nonobjc @_Concurrency.MainActor final public func resultByStarting(fromViewController viewController: UIKit.UIViewController) async throws -> GSSDK.GSKScanFlowResult
588
- #endif
589
598
  @objc deinit
590
599
  }
591
600
  @objc extension GSSDK.GSKScanFlow {
@@ -652,7 +661,7 @@ extension GSSDK.GSKScanFlowConfiguration {
652
661
  public init?(rawValue: Swift.Int)
653
662
  public typealias AllCases = [GSSDK.GSKScanFlowFilterType]
654
663
  public typealias RawValue = Swift.Int
655
- public static var allCases: [GSSDK.GSKScanFlowFilterType] {
664
+ nonisolated public static var allCases: [GSSDK.GSKScanFlowFilterType] {
656
665
  get
657
666
  }
658
667
  public var rawValue: Swift.Int {
@@ -671,7 +680,7 @@ extension GSSDK.GSKScanFlowFilterType : Swift.CustomStringConvertible {
671
680
  public init?(rawValue: Swift.UInt)
672
681
  public typealias AllCases = [GSSDK.GSKScanFlowFlashMode]
673
682
  public typealias RawValue = Swift.UInt
674
- public static var allCases: [GSSDK.GSKScanFlowFlashMode] {
683
+ nonisolated public static var allCases: [GSSDK.GSKScanFlowFlashMode] {
675
684
  get
676
685
  }
677
686
  public var rawValue: Swift.UInt {
@@ -741,7 +750,7 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
741
750
  public init?(rawValue: Swift.UInt)
742
751
  public typealias AllCases = [GSSDK.GSKScanFlowSource]
743
752
  public typealias RawValue = Swift.UInt
744
- public static var allCases: [GSSDK.GSKScanFlowSource] {
753
+ nonisolated public static var allCases: [GSSDK.GSKScanFlowSource] {
745
754
  get
746
755
  }
747
756
  public var rawValue: Swift.UInt {
@@ -766,18 +775,19 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
766
775
  @objc override dynamic public init()
767
776
  @objc deinit
768
777
  }
769
- public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
770
- public var configuration: () -> GSSDK.GSKScanFlowConfiguration
771
- public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
772
- public var label: () -> Label
773
- public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUI.ViewBuilder label: @escaping () -> Label)
774
- @_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
778
+ @_Concurrency.MainActor @preconcurrency public struct GSKScanFlowButton<Label> : SwiftUICore.View where Label : SwiftUICore.View {
779
+ @_Concurrency.MainActor @preconcurrency public var configuration: () -> GSSDK.GSKScanFlowConfiguration
780
+ @_Concurrency.MainActor @preconcurrency public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
781
+ @_Concurrency.MainActor @preconcurrency public var label: () -> Label
782
+ @_Concurrency.MainActor @preconcurrency public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUICore.ViewBuilder label: @escaping () -> Label)
783
+ @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
775
784
  get
776
785
  }
786
+ @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
777
787
  public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
778
788
  }
779
- extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
780
- public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
789
+ extension GSSDK.GSKScanFlowButton where Label == SwiftUICore.Text {
790
+ @_Concurrency.MainActor @preconcurrency public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
781
791
  }
782
792
  @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataAddress : ObjectiveC.NSObject {
783
793
  @objc final public let city: Swift.String?
@@ -807,15 +817,9 @@ extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
807
817
  @objc deinit
808
818
  }
809
819
  @objc extension GSSDK.GSKStructuredDataExtractor {
810
- #if compiler(>=5.3) && $AsyncAwait
811
820
  @objc final public func bankDetailsFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataBankDetails?
812
- #endif
813
- #if compiler(>=5.3) && $AsyncAwait
814
821
  @objc final public func businessCardContactFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataContact?
815
- #endif
816
- #if compiler(>=5.3) && $AsyncAwait
817
822
  @objc final public func receiptFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataReceipt?
818
- #endif
819
823
  }
820
824
  @objc public enum GSKStructuredDataExtractorError : Swift.Int, Swift.Error {
821
825
  case missingRequiredOCRMetadata = -1
@@ -856,6 +860,7 @@ extension GSSDK.GSKDocumentFinderImageType : Swift.Equatable {}
856
860
  extension GSSDK.GSKDocumentFinderImageType : Swift.Hashable {}
857
861
  extension GSSDK.GSKDocumentFinderImageType : Swift.RawRepresentable {}
858
862
  extension GSSDK.GSKDocumentFinderImageType : Swift.Sendable {}
863
+ extension GSSDK.GSKDocumentFinderImageType : Swift.BitwiseCopyable {}
859
864
  extension GSSDK.GSKReceiptCategory : Swift.Equatable {}
860
865
  extension GSSDK.GSKReceiptCategory : Swift.Hashable {}
861
866
  extension GSSDK.GSKReceiptCategory : Swift.RawRepresentable {}
@@ -884,6 +889,7 @@ extension GSSDK.GSKScanFlowPDFPageSize : Swift.RawRepresentable {}
884
889
  extension GSSDK.GSKScanFlowSource : Swift.Equatable {}
885
890
  extension GSSDK.GSKScanFlowSource : Swift.Hashable {}
886
891
  extension GSSDK.GSKScanFlowSource : Swift.RawRepresentable {}
892
+ extension GSSDK.GSKScanFlowButton : Swift.Sendable {}
887
893
  extension GSSDK.GSKStructuredDataExtractorError : Swift.Equatable {}
888
894
  extension GSSDK.GSKStructuredDataExtractorError : Swift.Hashable {}
889
895
  extension GSSDK.GSKStructuredDataExtractorError : Swift.RawRepresentable {}
@@ -1,6 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
2
+ // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
3
  // swift-module-flags: -target x86_64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name GSSDK
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface
4
5
  import AVFoundation
5
6
  import Combine
6
7
  import Contacts
@@ -26,6 +27,15 @@ import _SwiftConcurrencyShims
26
27
  }
27
28
  extension AVFoundation.AVCapturePhoto : GSSDK.CGImageRepresentable {
28
29
  }
30
+ @objc @_inheritsConvenienceInitializers @objcMembers final public class GSK : ObjectiveC.NSObject {
31
+ @objc public static var sdkVersion: Swift.String {
32
+ @objc get
33
+ }
34
+ @objc public static func setLicenseKey(_ licenseKey: Swift.String)
35
+ @objc public static func setLicenseKey(_ licenseKey: Swift.String, autoRefresh: Swift.Bool)
36
+ @objc override dynamic public init()
37
+ @objc deinit
38
+ }
29
39
  extension GSSDK.GSKBackgroundKind : Swift.CustomStringConvertible {
30
40
  public var description: Swift.String {
31
41
  get
@@ -46,6 +56,9 @@ extension GSSDK.GSKBackgroundKind : Swift.CustomStringConvertible {
46
56
  @objc public var supportsFlash: Swift.Bool {
47
57
  @objc get
48
58
  }
59
+ @objc public var captureSessionQueue: Dispatch.DispatchQueue? {
60
+ get
61
+ }
49
62
  @objc convenience public init(configuration: GSSDK.GSKCameraSessionConfiguration)
50
63
  @objc deinit
51
64
  @objc(pauseSession) public func pause()
@@ -102,58 +115,58 @@ extension GSSDK.GSKCameraSession : AVFoundation.AVCapturePhotoCaptureDelegate {
102
115
  get
103
116
  }
104
117
  }
105
- @objc @_Concurrency.MainActor(unsafe) open class GSKCameraViewController : UIKit.UIViewController {
106
- @_Concurrency.MainActor(unsafe) public var captureView: GSSDK.GSKView {
118
+ @objc @_Concurrency.MainActor @preconcurrency open class GSKCameraViewController : UIKit.UIViewController {
119
+ @_Concurrency.MainActor @preconcurrency public var captureView: GSSDK.GSKView {
107
120
  get
108
121
  }
109
- @_Concurrency.MainActor(unsafe) public var shutterView: GSSDK.GSKShutterView {
122
+ @_Concurrency.MainActor @preconcurrency public var shutterView: GSSDK.GSKShutterView {
110
123
  get
111
124
  }
112
- @_Concurrency.MainActor(unsafe) public var overlayColor: UIKit.UIColor {
125
+ @_Concurrency.MainActor @preconcurrency public var overlayColor: UIKit.UIColor {
113
126
  get
114
127
  set
115
128
  }
116
- @_Concurrency.MainActor(unsafe) public var cameraView: UIKit.UIView {
129
+ @_Concurrency.MainActor @preconcurrency public var cameraView: UIKit.UIView {
117
130
  get
118
131
  }
119
- @_Concurrency.MainActor(unsafe) final public let cameraSession: GSSDK.GSKCameraSession
132
+ @_Concurrency.MainActor @preconcurrency final public let cameraSession: GSSDK.GSKCameraSession
120
133
  @available(*, unavailable)
121
- @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
122
- @_Concurrency.MainActor(unsafe) public init(cameraSession: GSSDK.GSKCameraSession)
134
+ @_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
135
+ @_Concurrency.MainActor @preconcurrency public init(cameraSession: GSSDK.GSKCameraSession)
123
136
  @objc deinit
124
- @_Concurrency.MainActor(unsafe) @objc override dynamic open var prefersStatusBarHidden: Swift.Bool {
137
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open var prefersStatusBarHidden: Swift.Bool {
125
138
  @objc get
126
139
  }
127
- @_Concurrency.MainActor(unsafe) @objc override dynamic open func loadView()
128
- @_Concurrency.MainActor(unsafe) @objc override dynamic open func viewDidLoad()
129
- @_Concurrency.MainActor(unsafe) @objc override dynamic open func viewWillAppear(_ animated: Swift.Bool)
130
- @_Concurrency.MainActor(unsafe) @objc override dynamic open func viewWillDisappear(_ animated: Swift.Bool)
131
- @_Concurrency.MainActor(unsafe) @objc override dynamic open func viewWillTransition(to size: CoreFoundation.CGSize, with coordinator: any UIKit.UIViewControllerTransitionCoordinator)
140
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open func loadView()
141
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewDidLoad()
142
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillAppear(_ animated: Swift.Bool)
143
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillDisappear(_ animated: Swift.Bool)
144
+ @_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillTransition(to size: CoreFoundation.CGSize, with coordinator: any UIKit.UIViewControllerTransitionCoordinator)
132
145
  }
133
146
  extension GSSDK.GSKCameraViewController {
134
- @objc @_Concurrency.MainActor(unsafe) dynamic open func takePhoto()
147
+ @objc @_Concurrency.MainActor @preconcurrency dynamic open func takePhoto()
135
148
  }
136
149
  extension GSSDK.GSKCameraViewController {
137
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionDidSetup(_ cameraSession: GSSDK.GSKCameraSession)
138
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, setupFailedWithError error: any Swift.Error)
139
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionWillSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
140
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionDidSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
141
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFailToSnapPhotoWithError error: any Swift.Error)
142
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didGenerateScan scan: GSSDK.GSKScan)
143
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didEncounterFailureWithError error: any Swift.Error)
144
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFailWithError error: any Swift.Error)
145
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionIsSearchingQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
146
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionIsAboutToChooseQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
147
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, willAutoTriggerWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
148
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFindQuadrangle quadrangle: GSSDK.GSKQuadrangle)
149
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionFailedToFindQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
150
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionDidStart(_ cameraSession: GSSDK.GSKCameraSession)
151
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionDidStop(_ cameraSession: GSSDK.GSKCameraSession)
152
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, wasInterruptedWithReason reason: AVFoundation.AVCaptureSession.InterruptionReason)
153
- @_Concurrency.MainActor(unsafe) @objc dynamic open func cameraSessionInterruptionEnded(_ cameraSession: GSSDK.GSKCameraSession)
150
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionDidSetup(_ cameraSession: GSSDK.GSKCameraSession)
151
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, setupFailedWithError error: any Swift.Error)
152
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionWillSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
153
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionDidSnapPhoto(_ cameraSession: GSSDK.GSKCameraSession)
154
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFailToSnapPhotoWithError error: any Swift.Error)
155
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didGenerateScan scan: GSSDK.GSKScan)
156
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didEncounterFailureWithError error: any Swift.Error)
157
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFailWithError error: any Swift.Error)
158
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionIsSearchingQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
159
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionIsAboutToChooseQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
160
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, willAutoTriggerWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
161
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, didFindQuadrangle quadrangle: GSSDK.GSKQuadrangle)
162
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionFailedToFindQuadrangle(_ cameraSession: GSSDK.GSKCameraSession)
163
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionDidStart(_ cameraSession: GSSDK.GSKCameraSession)
164
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionDidStop(_ cameraSession: GSSDK.GSKCameraSession)
165
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSession(_ cameraSession: GSSDK.GSKCameraSession, wasInterruptedWithReason reason: AVFoundation.AVCaptureSession.InterruptionReason)
166
+ @_Concurrency.MainActor @preconcurrency @objc dynamic open func cameraSessionInterruptionEnded(_ cameraSession: GSSDK.GSKCameraSession)
154
167
  }
155
168
  extension GSSDK.GSKCameraViewController : GSSDK.GSKViewDelegate {
156
- @_Concurrency.MainActor(unsafe) @objc dynamic public func cameraView(_ cameraView: GSSDK.GSKView, requestedFocusAt focusPoint: CoreFoundation.CGPoint)
169
+ @_Concurrency.MainActor @preconcurrency @objc dynamic public func cameraView(_ cameraView: GSSDK.GSKView, requestedFocusAt focusPoint: CoreFoundation.CGPoint)
157
170
  }
158
171
  extension GSSDK.GSKDocumentComposition : Swift.CustomStringConvertible {
159
172
  public var description: Swift.String {
@@ -307,7 +320,7 @@ extension GSSDK.GSKFilterLightingCorrectionConfiguration {
307
320
  public init?(rawValue: Swift.Int)
308
321
  public typealias AllCases = [GSSDK.GSKReceiptCategory]
309
322
  public typealias RawValue = Swift.Int
310
- public static var allCases: [GSSDK.GSKReceiptCategory] {
323
+ nonisolated public static var allCases: [GSSDK.GSKReceiptCategory] {
311
324
  get
312
325
  }
313
326
  public var rawValue: Swift.Int {
@@ -443,7 +456,7 @@ public struct GSSDKImages {
443
456
  get
444
457
  }
445
458
  @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
446
- public var swiftUIImage: SwiftUI.Image {
459
+ public var swiftUIImage: SwiftUICore.Image {
447
460
  get
448
461
  }
449
462
  }
@@ -452,9 +465,9 @@ extension UIKit.UIImage {
452
465
  convenience public init?(asset: GSSDK.GSSDKImages)
453
466
  }
454
467
  @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
455
- extension SwiftUI.Image {
468
+ extension SwiftUICore.Image {
456
469
  public init(asset: GSSDK.GSSDKImages)
457
- public init(asset: GSSDK.GSSDKImages, label: SwiftUI.Text)
470
+ public init(asset: GSSDK.GSSDKImages, label: SwiftUICore.Text)
458
471
  public init(decorative asset: GSSDK.GSSDKImages)
459
472
  }
460
473
  @_inheritsConvenienceInitializers @objc public class GSSDKResources : ObjectiveC.NSObject {
@@ -546,9 +559,7 @@ public enum GSSDKStrings {
546
559
  @_inheritsConvenienceInitializers @objc final public class GSKOCR : ObjectiveC.NSObject {
547
560
  @objc public init(logger: any GSSDK.GSKLogger)
548
561
  @objc override convenience dynamic public init()
549
- #if compiler(>=5.3) && $AsyncAwait
550
562
  @objc final public func recognizeText(forImageAtPath imagePath: Swift.String, ocrConfiguration configuration: GSSDK.GSKOCRConfiguration, onProgress progressBlock: ((Swift.Float) -> Swift.Void)?) async throws -> GSSDK.GSKOCRResult
551
- #endif
552
563
  @objc deinit
553
564
  }
554
565
  public struct GSKOCRLanguage {
@@ -569,23 +580,21 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
569
580
  }
570
581
  }
571
582
  @objc extension GSSDK.GSKView {
572
- @objc @_Concurrency.MainActor(unsafe) dynamic public func startSearchAnimation()
573
- @objc @_Concurrency.MainActor(unsafe) dynamic public func startSnapAnimation(withDuration duration: Foundation.TimeInterval)
574
- @objc @_Concurrency.MainActor(unsafe) dynamic public func endSnapAnimation()
583
+ @objc @_Concurrency.MainActor @preconcurrency dynamic public func startSearchAnimation()
584
+ @objc @_Concurrency.MainActor @preconcurrency dynamic public func startSnapAnimation(withDuration duration: Foundation.TimeInterval)
585
+ @objc @_Concurrency.MainActor @preconcurrency dynamic public func endSnapAnimation()
575
586
  }
576
587
  @objc extension UIKit.UIViewController {
577
- @objc(gsk_statusBarStyleBasedOnContrast) @_Concurrency.MainActor(unsafe) dynamic public var statusBarStyleBasedOnContrast: UIKit.UIStatusBarStyle {
588
+ @objc(gsk_statusBarStyleBasedOnContrast) @_Concurrency.MainActor @preconcurrency dynamic public var statusBarStyleBasedOnContrast: UIKit.UIStatusBarStyle {
578
589
  @objc get
579
590
  }
580
- @objc(gsk_supportedInterfaceOrientations) @_Concurrency.MainActor(unsafe) dynamic public var deviceSupportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask {
591
+ @objc(gsk_supportedInterfaceOrientations) @_Concurrency.MainActor @preconcurrency dynamic public var deviceSupportedInterfaceOrientations: UIKit.UIInterfaceOrientationMask {
581
592
  @objc get
582
593
  }
583
594
  }
584
595
  @objc @objcMembers @_Concurrency.MainActor final public class GSKScanFlow : ObjectiveC.NSObject {
585
596
  @objc @_Concurrency.MainActor public init(configuration: GSSDK.GSKScanFlowConfiguration)
586
- #if compiler(>=5.3) && $AsyncAwait
587
597
  @nonobjc @_Concurrency.MainActor final public func resultByStarting(fromViewController viewController: UIKit.UIViewController) async throws -> GSSDK.GSKScanFlowResult
588
- #endif
589
598
  @objc deinit
590
599
  }
591
600
  @objc extension GSSDK.GSKScanFlow {
@@ -652,7 +661,7 @@ extension GSSDK.GSKScanFlowConfiguration {
652
661
  public init?(rawValue: Swift.Int)
653
662
  public typealias AllCases = [GSSDK.GSKScanFlowFilterType]
654
663
  public typealias RawValue = Swift.Int
655
- public static var allCases: [GSSDK.GSKScanFlowFilterType] {
664
+ nonisolated public static var allCases: [GSSDK.GSKScanFlowFilterType] {
656
665
  get
657
666
  }
658
667
  public var rawValue: Swift.Int {
@@ -671,7 +680,7 @@ extension GSSDK.GSKScanFlowFilterType : Swift.CustomStringConvertible {
671
680
  public init?(rawValue: Swift.UInt)
672
681
  public typealias AllCases = [GSSDK.GSKScanFlowFlashMode]
673
682
  public typealias RawValue = Swift.UInt
674
- public static var allCases: [GSSDK.GSKScanFlowFlashMode] {
683
+ nonisolated public static var allCases: [GSSDK.GSKScanFlowFlashMode] {
675
684
  get
676
685
  }
677
686
  public var rawValue: Swift.UInt {
@@ -741,7 +750,7 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
741
750
  public init?(rawValue: Swift.UInt)
742
751
  public typealias AllCases = [GSSDK.GSKScanFlowSource]
743
752
  public typealias RawValue = Swift.UInt
744
- public static var allCases: [GSSDK.GSKScanFlowSource] {
753
+ nonisolated public static var allCases: [GSSDK.GSKScanFlowSource] {
745
754
  get
746
755
  }
747
756
  public var rawValue: Swift.UInt {
@@ -766,18 +775,19 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
766
775
  @objc override dynamic public init()
767
776
  @objc deinit
768
777
  }
769
- public struct GSKScanFlowButton<Label> : SwiftUI.View where Label : SwiftUI.View {
770
- public var configuration: () -> GSSDK.GSKScanFlowConfiguration
771
- public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
772
- public var label: () -> Label
773
- public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUI.ViewBuilder label: @escaping () -> Label)
774
- @_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
778
+ @_Concurrency.MainActor @preconcurrency public struct GSKScanFlowButton<Label> : SwiftUICore.View where Label : SwiftUICore.View {
779
+ @_Concurrency.MainActor @preconcurrency public var configuration: () -> GSSDK.GSKScanFlowConfiguration
780
+ @_Concurrency.MainActor @preconcurrency public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
781
+ @_Concurrency.MainActor @preconcurrency public var label: () -> Label
782
+ @_Concurrency.MainActor @preconcurrency public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUICore.ViewBuilder label: @escaping () -> Label)
783
+ @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
775
784
  get
776
785
  }
786
+ @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
777
787
  public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
778
788
  }
779
- extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
780
- public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
789
+ extension GSSDK.GSKScanFlowButton where Label == SwiftUICore.Text {
790
+ @_Concurrency.MainActor @preconcurrency public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
781
791
  }
782
792
  @objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataAddress : ObjectiveC.NSObject {
783
793
  @objc final public let city: Swift.String?
@@ -807,15 +817,9 @@ extension GSSDK.GSKScanFlowButton where Label == SwiftUI.Text {
807
817
  @objc deinit
808
818
  }
809
819
  @objc extension GSSDK.GSKStructuredDataExtractor {
810
- #if compiler(>=5.3) && $AsyncAwait
811
820
  @objc final public func bankDetailsFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataBankDetails?
812
- #endif
813
- #if compiler(>=5.3) && $AsyncAwait
814
821
  @objc final public func businessCardContactFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataContact?
815
- #endif
816
- #if compiler(>=5.3) && $AsyncAwait
817
822
  @objc final public func receiptFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataReceipt?
818
- #endif
819
823
  }
820
824
  @objc public enum GSKStructuredDataExtractorError : Swift.Int, Swift.Error {
821
825
  case missingRequiredOCRMetadata = -1
@@ -856,6 +860,7 @@ extension GSSDK.GSKDocumentFinderImageType : Swift.Equatable {}
856
860
  extension GSSDK.GSKDocumentFinderImageType : Swift.Hashable {}
857
861
  extension GSSDK.GSKDocumentFinderImageType : Swift.RawRepresentable {}
858
862
  extension GSSDK.GSKDocumentFinderImageType : Swift.Sendable {}
863
+ extension GSSDK.GSKDocumentFinderImageType : Swift.BitwiseCopyable {}
859
864
  extension GSSDK.GSKReceiptCategory : Swift.Equatable {}
860
865
  extension GSSDK.GSKReceiptCategory : Swift.Hashable {}
861
866
  extension GSSDK.GSKReceiptCategory : Swift.RawRepresentable {}
@@ -884,6 +889,7 @@ extension GSSDK.GSKScanFlowPDFPageSize : Swift.RawRepresentable {}
884
889
  extension GSSDK.GSKScanFlowSource : Swift.Equatable {}
885
890
  extension GSSDK.GSKScanFlowSource : Swift.Hashable {}
886
891
  extension GSSDK.GSKScanFlowSource : Swift.RawRepresentable {}
892
+ extension GSSDK.GSKScanFlowButton : Swift.Sendable {}
887
893
  extension GSSDK.GSKStructuredDataExtractorError : Swift.Equatable {}
888
894
  extension GSSDK.GSKStructuredDataExtractorError : Swift.Hashable {}
889
895
  extension GSSDK.GSKStructuredDataExtractorError : Swift.RawRepresentable {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thegrizzlylabs/react-native-genius-scan",
3
- "version": "5.2.0",
3
+ "version": "5.3.1",
4
4
  "description": "React Native Plugin for Genius Scan SDK",
5
5
  "author": "TheGrizzlyLabs <sdk@thegrizzlylabs.com> (https://www.thegrizzlylabs.com/)",
6
6
  "homepage": "https://geniusscansdk.com",
@@ -1,52 +0,0 @@
1
- //
2
- // Genius Scan SDK
3
- //
4
- // Copyright 2010-2019 The Grizzly Labs
5
- //
6
- // Subject to the Genius Scan SDK Licensing Agreement
7
- // sdk@thegrizzlylabs.com
8
- //
9
-
10
- #import <CoreMedia/CoreMedia.h>
11
- #import <UIKit/UIKit.h>
12
-
13
- NS_ASSUME_NONNULL_BEGIN
14
-
15
- @class GSKPDFDocument;
16
- @class GSKPDFGeneratorConfiguration;
17
- @class GSKTextLayout;
18
-
19
- @protocol GSKDocumentImageProcessor;
20
- @protocol GSKLogger;
21
-
22
- /**
23
- Entry point of the SDK. Use this to initialize the SDK with your license key.
24
- */
25
- @interface GSK : NSObject
26
-
27
- @property (nonatomic, class, strong, readonly) NSString *version;
28
-
29
- /// Sets the Genius Scan SDK license key with auto-refresh enabled.
30
- ///
31
- /// See `setLicenseKey:autoRefresh:`
32
- + (void)setLicenseKey:(NSString *)licenseKey;
33
-
34
- /**
35
- Sets the Genius Scan SDK license key with auto-refresh enabled.
36
-
37
- This method doesn't return an error but will log warnings should the key be invalid or expired. All other SDK methods that return errors will report
38
- an error if there is a problem with the license key, and you must handle them to ensure you provide a good "degraded" experience.
39
- For instance, you can prompt the user to update the application to use the scanning feature in case they use a version of the application with an expired license key.
40
-
41
- @warning *Important* This method must be called with a valid license key before any use of the SDK methods.
42
-
43
- @param licenseKey A valid license key. You must publish a new version of the app with an updated license key before the key expires.
44
- @param autoRefresh If YES, the SDK will attempt to automatically refresh the license key to prevent any diruption of service on devices that wouldn't have
45
- updated to the latest version of your app containing the new keys. If `autoRefresh` is enabled, the following information is sent to the Genius Scan SDK servers:
46
- the current license key, a device-unique UUID, and the current version of the app.
47
- */
48
- + (void)setLicenseKey:(NSString *)licenseKey autoRefresh:(BOOL)autoRefresh;
49
-
50
- @end
51
-
52
- NS_ASSUME_NONNULL_END