@thegrizzlylabs/react-native-genius-scan 6.4.1 → 6.5.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.
- package/Package.swift +52 -0
- package/README.md +8 -7
- package/android/build.gradle +2 -5
- package/index.d.ts +1 -0
- package/ios/GSSDK/GSSDK.xcframework/Info.plist +5 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKOutputConfiguration.h +4 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +8 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +296 -138
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +9 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +9 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/he.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKOutputConfiguration.h +4 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +16 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +296 -138
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +9 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +9 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +296 -138
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +9 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +9 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/he.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
- package/package.json +1 -1
- package/react-native-spm-prefix.h +4 -0
- package/react-native.config.js +5 -0
|
@@ -501,11 +501,6 @@ extension GSSDK.GSKReceiptCategory : Swift.CustomStringConvertible {
|
|
|
501
501
|
@objc public func generate(_ document: GSSDK.GSKPDFDocument, configuration: GSSDK.GSKDocumentGeneratorConfiguration) throws
|
|
502
502
|
@objc deinit
|
|
503
503
|
}
|
|
504
|
-
extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
505
|
-
public static var _nsErrorDomain: Swift.String {
|
|
506
|
-
get
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
504
|
@objc public enum GSKDocumentGeneratorFileFormat : Swift.Int {
|
|
510
505
|
@objc(GSKDocumentGeneratorFileFormatPDF) case pdf
|
|
511
506
|
@objc(GSKDocumentGeneratorFileFormatTIFF) case tiff
|
|
@@ -548,6 +543,14 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
548
543
|
get
|
|
549
544
|
}
|
|
550
545
|
}
|
|
546
|
+
extension GSSDK.GSKDocumentGeneratorError : Foundation.LocalizedError {
|
|
547
|
+
public var errorDescription: Swift.String? {
|
|
548
|
+
get
|
|
549
|
+
}
|
|
550
|
+
public static var _nsErrorDomain: Swift.String {
|
|
551
|
+
get
|
|
552
|
+
}
|
|
553
|
+
}
|
|
551
554
|
@objc public protocol GSKDocumentImageProcessor {
|
|
552
555
|
@objc func process(_ inputFilePath: Swift.String) -> Swift.String?
|
|
553
556
|
}
|
|
@@ -851,6 +854,7 @@ public enum GSKCropValidation : Swift.Hashable {
|
|
|
851
854
|
@objc final public var ocrConfiguration: GSSDK.GSKScanFlowOCRConfiguration?
|
|
852
855
|
@objc final public var structuredData: GSSDK.GSKScanFlowStructuredData
|
|
853
856
|
final public var structuredDataBarcodeTypes: [GSSDK.GSKBarcodeType]
|
|
857
|
+
@objc final public var outputDirectoryURL: Foundation.URL
|
|
854
858
|
@objc override dynamic public init()
|
|
855
859
|
@objc deinit
|
|
856
860
|
}
|
|
Binary file
|
|
@@ -501,11 +501,6 @@ extension GSSDK.GSKReceiptCategory : Swift.CustomStringConvertible {
|
|
|
501
501
|
@objc public func generate(_ document: GSSDK.GSKPDFDocument, configuration: GSSDK.GSKDocumentGeneratorConfiguration) throws
|
|
502
502
|
@objc deinit
|
|
503
503
|
}
|
|
504
|
-
extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
505
|
-
public static var _nsErrorDomain: Swift.String {
|
|
506
|
-
get
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
504
|
@objc public enum GSKDocumentGeneratorFileFormat : Swift.Int {
|
|
510
505
|
@objc(GSKDocumentGeneratorFileFormatPDF) case pdf
|
|
511
506
|
@objc(GSKDocumentGeneratorFileFormatTIFF) case tiff
|
|
@@ -548,6 +543,14 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
548
543
|
get
|
|
549
544
|
}
|
|
550
545
|
}
|
|
546
|
+
extension GSSDK.GSKDocumentGeneratorError : Foundation.LocalizedError {
|
|
547
|
+
public var errorDescription: Swift.String? {
|
|
548
|
+
get
|
|
549
|
+
}
|
|
550
|
+
public static var _nsErrorDomain: Swift.String {
|
|
551
|
+
get
|
|
552
|
+
}
|
|
553
|
+
}
|
|
551
554
|
@objc public protocol GSKDocumentImageProcessor {
|
|
552
555
|
@objc func process(_ inputFilePath: Swift.String) -> Swift.String?
|
|
553
556
|
}
|
|
@@ -851,6 +854,7 @@ public enum GSKCropValidation : Swift.Hashable {
|
|
|
851
854
|
@objc final public var ocrConfiguration: GSSDK.GSKScanFlowOCRConfiguration?
|
|
852
855
|
@objc final public var structuredData: GSSDK.GSKScanFlowStructuredData
|
|
853
856
|
final public var structuredDataBarcodeTypes: [GSSDK.GSKBarcodeType]
|
|
857
|
+
@objc final public var outputDirectoryURL: Foundation.URL
|
|
854
858
|
@objc override dynamic public init()
|
|
855
859
|
@objc deinit
|
|
856
860
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -36,6 +36,10 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
36
36
|
/// Image output will be PNG.
|
|
37
37
|
+ (instancetype)pngOutputConfiguration;
|
|
38
38
|
|
|
39
|
+
/// The URL of the directory to which the scan flow should write its output files (such as
|
|
40
|
+
/// scan images). Defaults to the application's temporary directory.
|
|
41
|
+
@property (nonatomic, copy) NSURL *directoryURL;
|
|
42
|
+
|
|
39
43
|
@end
|
|
40
44
|
|
|
41
45
|
NS_ASSUME_NONNULL_END
|
package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h
CHANGED
|
@@ -1431,6 +1431,14 @@ SWIFT_CLASS("_TtC5GSSDK24GSKScanFlowConfiguration")
|
|
|
1431
1431
|
/// The types of structured data you want to extract from the document. This is
|
|
1432
1432
|
/// an option set so you can combine multiple values.
|
|
1433
1433
|
@property (nonatomic) GSKScanFlowStructuredData structuredData;
|
|
1434
|
+
/// The URL of the directory to which the scan flow should write its output files (such as
|
|
1435
|
+
/// scan images). Defaults to the application’s temporary directory. Must contain a valid
|
|
1436
|
+
/// file URL that can either point to an existing or non-existing directory, but which must
|
|
1437
|
+
/// not point to a file. Note: If setting this to a security-scoped URL, then you are responsible
|
|
1438
|
+
/// for making balanced calls to the system’s <code>startAccessingSecurityScopedResource</code>
|
|
1439
|
+
/// and <code>stopAccessingSecurityScopedResource</code> APIs before and after running a scan
|
|
1440
|
+
/// flow session.
|
|
1441
|
+
@property (nonatomic, copy) NSURL * _Nonnull outputDirectoryURL;
|
|
1434
1442
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1435
1443
|
@end
|
|
1436
1444
|
|
|
@@ -3256,6 +3264,14 @@ SWIFT_CLASS("_TtC5GSSDK24GSKScanFlowConfiguration")
|
|
|
3256
3264
|
/// The types of structured data you want to extract from the document. This is
|
|
3257
3265
|
/// an option set so you can combine multiple values.
|
|
3258
3266
|
@property (nonatomic) GSKScanFlowStructuredData structuredData;
|
|
3267
|
+
/// The URL of the directory to which the scan flow should write its output files (such as
|
|
3268
|
+
/// scan images). Defaults to the application’s temporary directory. Must contain a valid
|
|
3269
|
+
/// file URL that can either point to an existing or non-existing directory, but which must
|
|
3270
|
+
/// not point to a file. Note: If setting this to a security-scoped URL, then you are responsible
|
|
3271
|
+
/// for making balanced calls to the system’s <code>startAccessingSecurityScopedResource</code>
|
|
3272
|
+
/// and <code>stopAccessingSecurityScopedResource</code> APIs before and after running a scan
|
|
3273
|
+
/// flow session.
|
|
3274
|
+
@property (nonatomic, copy) NSURL * _Nonnull outputDirectoryURL;
|
|
3259
3275
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3260
3276
|
@end
|
|
3261
3277
|
|