@thegrizzlylabs/cordova-plugin-genius-scan 6.2.0 → 6.3.0
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/README.md +6 -3
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +24 -6
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +1434 -154
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +57 -24
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +57 -24
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Info.plist +2 -2
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Resources/DWARF/GSSDK +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/GSSDK.yml +4881 -4791
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +48 -12
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +1434 -154
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +57 -24
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +57 -24
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +1434 -154
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +57 -24
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +57 -24
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Info.plist +2 -2
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/DWARF/GSSDK +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/GSSDK.yml +4881 -4791
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/GSSDK.yml +5202 -5112
- package/types/index.d.ts +23 -1
package/README.md
CHANGED
|
@@ -115,18 +115,20 @@ cordova.plugins.GeniusScan.scanWithConfiguration(configuration, onSuccess, onFai
|
|
|
115
115
|
The method `scanWithConfiguration` takes a `configuration` parameter which can take the following options:
|
|
116
116
|
|
|
117
117
|
- `source`: `camera`, `image` or `library` (defaults to camera)
|
|
118
|
-
- `sourceImageUrl`: an absolute image url, required if `source` is `image`. Example: `file:///
|
|
118
|
+
- `sourceImageUrl`: an absolute image url, required if `source` is `image`. Example: `file:///path/to/image.png`
|
|
119
119
|
- `multiPage`: boolean (defaults to true). If true, after a page is scanned, a prompt to scan another page will be displayed. If false, a single page will be scanned.
|
|
120
120
|
- `multiPageFormat`: `pdf`, `tiff`, `none` (defaults to `pdf`)
|
|
121
121
|
- `defaultFilter`: the filter that will be applied by default to enhance scans, or `none` if no enhancement should be performed by default. Possible values are listed in the [Available filters section](#available-filters). Default value is `automatic`.
|
|
122
122
|
- `availableFilters`: an array of filters that the user can select when they tap on the edit filter button. Defaults to [`none`, `automatic`, `automaticMonochrome`, `automaticBlackAndWhite`, `automaticColor`, `photo`].
|
|
123
123
|
- `pdfPageSize`: `fit`, `a4`, `letter`, defaults to fit.
|
|
124
|
+
- `pdfPassword`: Optional password used to protect generated PDF documents. Empty passwords are treated as no password. This only applies when `multiPageFormat` is `pdf`.
|
|
124
125
|
- `pdfMaxScanDimension`: max dimension in pixels when images are scaled before PDF generation, for example 2000 to fit both height and width within 2000px. Defaults to 0, which means no scaling is performed.
|
|
125
126
|
- `pdfFontFileUrl`: Custom font file used during the PDF generation to embed an invisible text layer. If null, a default font is used, which only supports Latin languages.
|
|
126
127
|
- `jpegQuality`: JPEG quality used to compress captured images. Between 0 and 100, 100 being the best quality. Default is 60.
|
|
127
128
|
- `skipPostProcessingScreen`: Whether to skip showing the post-processing screen. We only recommend enabling this option when scanning structured data. Generally, you want the user to visually confirm the quality of each scan.
|
|
128
129
|
- `postProcessingActions`: an array with the desired actions to display during the post processing screen (defaults to all actions). Possible actions are `rotate`, `editFilter` and `correctDistortion`.
|
|
129
130
|
- `defaultCurvatureCorrection`: `enabled` or `disabled` whether a curvature correction should be applied by default. Disabled by default.
|
|
131
|
+
- `showCropValidation`: `never`, `always`, or `{ whenConfidenceBelowOrEqual: 'highest' | 'high' | 'medium' | 'low' | 'lowest' }` to automatically show crop validation after capture.
|
|
130
132
|
- `defaultScanOrientation`: `automatic` to rotate scan automatically after capture or `original` to keep original scan orientation (defaults to `automatic`).
|
|
131
133
|
- `photoLibraryButtonHidden`: boolean specifying whether the button allowing the user to pick an image on the Camera screen should be hidden (default to false).
|
|
132
134
|
- `flashButtonHidden`: boolean (default to false)
|
|
@@ -134,13 +136,14 @@ The method `scanWithConfiguration` takes a `configuration` parameter which can t
|
|
|
134
136
|
- `foregroundColor`: string representing a color, must start with a `#`. The color of the icons, text (defaults to '#ffffff').
|
|
135
137
|
- `backgroundColor`: string representing a color, must start with a `#`. The color of the toolbar, screen background (defaults to black)
|
|
136
138
|
- `highlightColor`: string representing a color, must start with a `#`. The color of the image overlays (default to blue)
|
|
137
|
-
- `menuColor`: string representing a color, must start with a `#`. The color of the menus (defaults to system defaults.
|
|
139
|
+
- `menuColor`: string representing a color, must start with a `#`. The color of the menus (iOS only, defaults to system defaults).
|
|
138
140
|
- `ocrConfiguration`: text recognition options. Text recognition will run on a background thread for every captured image. No text recognition will be applied if this parameter is not present.
|
|
139
141
|
- `languages`: list of BCP 47 language tags (eg `["en-US"]`) for which to run text recognition. Note that text recognition will take longer if multiple languages are specified.
|
|
140
142
|
- `outputFormats`: an array with the formats in which the OCR result is made available in the ScanFlow result (defaults to all formats). Possible formats are `rawText`, `hOCR` and `textLayerInPDF`.
|
|
141
143
|
- `structuredData`: an array of the structured data you want to extract. E.g.: `['receipt', 'businessCard']`. Possible values are `receipt`, `barcode`, `bankDetails` (iOS only), `businessCard` (iOS only).
|
|
142
|
-
- `structuredDataBarcodeTypes`: an array of the barcode types to extract, e.g. `['qr', 'code39']`. Possible values are `aztec`, `code39`, `code93`, `code128`, `dataMatrix`, `ean8`, `ean13`, `itf`, `pdf417`, `qr`, `upca` (Android only), `upce`, `codabar` (iOS 15+ only), `gs1DataBar` (iOS 15+ only), `microPDF417` (iOS 15+ only), `microQR` (iOS 15+ only), `msiPlessey` (iOS
|
|
144
|
+
- `structuredDataBarcodeTypes`: an array of the barcode types to extract, e.g. `['qr', 'code39']`. Possible values are `aztec`, `code39`, `code93`, `code128`, `dataMatrix`, `ean8`, `ean13`, `itf`, `pdf417`, `qr`, `upca` (Android only), `upce`, `codabar` (iOS 15+ only), `gs1DataBar` (iOS 15+ only), `microPDF417` (iOS 15+ only), `microQR` (iOS 15+ only), `msiPlessey` (iOS 17+ only).
|
|
143
145
|
- `requiredReadabilityLevel`: the required readability level below which a warning will be displayed to the user. Possible values are `lowest`, `low`, `medium`, `high`, `highest` (default to `lowest`, which means the warning will never be displayed).
|
|
146
|
+
- `showFinalReview`: boolean specifying whether the final review screen should be displayed before submission (default to false).
|
|
144
147
|
|
|
145
148
|
It returns a promise with `result` object containing:
|
|
146
149
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thegrizzlylabs/cordova-plugin-genius-scan",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"description": "Cordova Plugin for Genius Scan SDK",
|
|
5
5
|
"author": "TheGrizzlyLabs <sdk@thegrizzlylabs.com> (https://www.thegrizzlylabs.com/)",
|
|
6
6
|
"homepage": "https://geniusscansdk.com/",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<plugin id="@thegrizzlylabs/cordova-plugin-genius-scan" version="6.
|
|
2
|
+
<plugin id="@thegrizzlylabs/cordova-plugin-genius-scan" version="6.3.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
3
|
<name>Genius Scan</name>
|
|
4
4
|
<js-module name="GeniusScan" src="www/GeniusScan.js">
|
|
5
5
|
<clobbers target="cordova.plugins.GeniusScan" />
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<config-file parent="/manifest/application" target="AndroidManifest.xml" />
|
|
14
14
|
<source-file src="src/android/GeniusScan.java" target-dir="src/com/geniusscansdk/cordova" />
|
|
15
15
|
<framework custom="true" src="src/android/build.gradle" type="gradleReference" />
|
|
16
|
-
<framework src="com.geniusscansdk:gssdk:6.
|
|
16
|
+
<framework src="com.geniusscansdk:gssdk:6.3.0"/>
|
|
17
17
|
</platform>
|
|
18
18
|
|
|
19
19
|
<platform name="ios" package="swift">
|
|
Binary file
|
|
Binary file
|
|
@@ -765,7 +765,7 @@ SWIFT_PROTOCOL("_TtP5GSSDK31GSKCameraViewControllerDelegate_")
|
|
|
765
765
|
/// \param cameraViewController The camera view controller
|
|
766
766
|
///
|
|
767
767
|
- (void)cameraViewControllerFailedToFindDocument:(GSKCameraViewController * _Nonnull)cameraViewController;
|
|
768
|
-
/// The camera view controller real-time document detection will soon
|
|
768
|
+
/// The camera view controller real-time document detection will soon capture a detected document, but if the document
|
|
769
769
|
/// detection is not stable enough, the process can still be
|
|
770
770
|
/// cancelled.
|
|
771
771
|
/// It’s a good time to tell the user to remain stable.
|
|
@@ -773,18 +773,36 @@ SWIFT_PROTOCOL("_TtP5GSSDK31GSKCameraViewControllerDelegate_")
|
|
|
773
773
|
/// \param cameraViewController The camera view controller
|
|
774
774
|
///
|
|
775
775
|
- (void)cameraViewControllerPhotoStabilizationDidStart:(GSKCameraViewController * _Nonnull)cameraViewController;
|
|
776
|
-
/// The camera view controller is about to decide whether to automatically
|
|
776
|
+
/// The camera view controller is about to decide whether to automatically capture a detected document because the detection was stable enough.
|
|
777
777
|
/// This is an override point where you can return <code>false</code> to stop that automatic process from proceeding.
|
|
778
778
|
/// \param cameraViewController The camera view controller
|
|
779
779
|
///
|
|
780
780
|
- (BOOL)cameraViewControllerShouldSnapPhoto:(GSKCameraViewController * _Nonnull)cameraViewController SWIFT_WARN_UNUSED_RESULT;
|
|
781
|
-
/// The camera view controller is going to
|
|
782
|
-
///
|
|
781
|
+
/// The camera view controller is going to capture a photo, whether the capture was triggered manually or automatically.
|
|
782
|
+
/// When the capture is automatic, this is called after <code>cameraViewController:willAutoCaptureDocumentWithQuadrangle:</code>.
|
|
783
783
|
/// \param cameraViewController The camera view controller
|
|
784
784
|
///
|
|
785
|
-
|
|
785
|
+
- (void)cameraViewControllerWillCapturePhoto:(GSKCameraViewController * _Nonnull)cameraViewController;
|
|
786
|
+
/// The camera view controller is going to automatically capture a detected document because the detection was stable enough.
|
|
787
|
+
/// The automatic capture is about to start and cannot be interrupted at this stage.
|
|
788
|
+
/// <ul>
|
|
789
|
+
/// <li>
|
|
790
|
+
/// Deprecated: Use <code>cameraViewController(_:willAutoCaptureDocumentWithQuadrangle:)</code> for automatic document captures
|
|
791
|
+
/// or <code>cameraViewControllerWillCapturePhoto(_:)</code> for any capture.
|
|
792
|
+
/// </li>
|
|
793
|
+
/// </ul>
|
|
794
|
+
/// \param cameraViewController The camera view controller
|
|
795
|
+
///
|
|
796
|
+
/// \param quadrangle The quadrangle of the document that will be captured.
|
|
786
797
|
///
|
|
787
798
|
- (void)cameraViewController:(GSKCameraViewController * _Nonnull)cameraViewController willSnapPhotoWithQuadrangle:(GSKQuadrangle * _Nonnull)quadrangle;
|
|
799
|
+
/// The camera view controller is going to automatically capture a detected document because the detection was stable enough.
|
|
800
|
+
/// The automatic capture is about to start and cannot be interrupted at this stage.
|
|
801
|
+
/// \param cameraViewController The camera view controller
|
|
802
|
+
///
|
|
803
|
+
/// \param quadrangle The quadrangle of the document that will be captured.
|
|
804
|
+
///
|
|
805
|
+
- (void)cameraViewController:(GSKCameraViewController * _Nonnull)cameraViewController willAutoCaptureDocumentWithQuadrangle:(GSKQuadrangle * _Nonnull)quadrangle;
|
|
788
806
|
/// The camera view controller just took a photo, but it hasn’t been post-processed it yet
|
|
789
807
|
/// \param cameraViewController The camera view controller
|
|
790
808
|
///
|
|
@@ -1378,7 +1396,7 @@ SWIFT_CLASS("_TtC5GSSDK24GSKScanFlowConfiguration")
|
|
|
1378
1396
|
/// Whether the photo library button should be hidden during camera-based scan flows. Defaults to <code>false</code>.
|
|
1379
1397
|
@property (nonatomic) BOOL photoLibraryButtonHidden;
|
|
1380
1398
|
/// Determines the default flash mode. Combine this with <code>flashButtonHidden</code>
|
|
1381
|
-
/// if you want to only allow a specific flash mode. Defaults to <code>.
|
|
1399
|
+
/// if you want to only allow a specific flash mode. Defaults to <code>.off</code>.
|
|
1382
1400
|
@property (nonatomic) enum GSKScanFlowFlashMode defaultFlashMode;
|
|
1383
1401
|
/// Determines the document format. Defaults to <code>.PDF</code>.
|
|
1384
1402
|
@property (nonatomic) enum GSKScanFlowMultiPageFormat multiPageFormat;
|
|
Binary file
|