@thegrizzlylabs/cordova-plugin-genius-scan 5.0.7 → 5.0.8

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 (17) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
  3. package/plugin.xml +2 -2
  4. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
  5. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
  6. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +14 -0
  7. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Info.plist +2 -2
  8. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Resources/DWARF/GSSDK +0 -0
  9. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/GSSDK.yml +922 -922
  10. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
  11. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
  12. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +14 -0
  13. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +14 -0
  14. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Info.plist +2 -2
  15. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/DWARF/GSSDK +0 -0
  16. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/GSSDK.yml +4047 -4047
  17. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/GSSDK.yml +3920 -3920
package/README.md CHANGED
@@ -130,6 +130,7 @@ The method `scanWithConfiguration` takes a `configuration` parameter which can t
130
130
  - `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.
131
131
  - `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.
132
132
  - `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`.
133
+ - `structuredData`: an array of the structured data you want to extract. E.g.: `['receipt', 'businessCard']`. Possible values are `bankDetails`, `receipt`, `businessCard`. Only available on iOS.
133
134
 
134
135
  It returns a promise with `result` object containing:
135
136
 
@@ -140,6 +141,7 @@ It returns a promise with `result` object containing:
140
141
  - `ocrResult`: the result of text recognition for this scan
141
142
  - `text`: the raw text that was recognized
142
143
  - `hocrTextLayout`: the recognized text in [hOCR](https://en.wikipedia.org/wiki/HOCR) format (with position, style…)
144
+ - `structuredData`: the result of the structured data extraction. A subdictionary will be present for each type of structured data detected by the scan flow.
143
145
 
144
146
  ### Error callback
145
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thegrizzlylabs/cordova-plugin-genius-scan",
3
- "version": "5.0.7",
3
+ "version": "5.0.8",
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="5.0.7" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <plugin id="@thegrizzlylabs/cordova-plugin-genius-scan" version="5.0.8" 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" />
@@ -16,7 +16,7 @@
16
16
  <config-file parent="/manifest/application" target="AndroidManifest.xml" />
17
17
  <source-file src="src/android/GeniusScan.java" target-dir="src/com/geniusscansdk/cordova" />
18
18
  <framework custom="true" src="src/android/build.gradle" type="gradleReference" />
19
- <framework src="com.geniusscansdk:gssdk:5.0.7"/>
19
+ <framework src="com.geniusscansdk:gssdk:5.0.8"/>
20
20
  </platform>
21
21
 
22
22
  <platform name="ios">
@@ -31205,6 +31205,20 @@
31205
31205
  "length": 13,
31206
31206
  "value": "\"bankDetails\""
31207
31207
  },
31208
+ {
31209
+ "filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/ScanFlow\/Models\/GSKScanFlowConfiguration.swift",
31210
+ "kind": "StringLiteral",
31211
+ "offset": 12768,
31212
+ "length": 14,
31213
+ "value": "\"businessCard\""
31214
+ },
31215
+ {
31216
+ "filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/ScanFlow\/Models\/GSKScanFlowConfiguration.swift",
31217
+ "kind": "StringLiteral",
31218
+ "offset": 12819,
31219
+ "length": 9,
31220
+ "value": "\"receipt\""
31221
+ },
31208
31222
  {
31209
31223
  "filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/ScanFlow\/Models\/GSKScanFlowError.swift",
31210
31224
  "kind": "IntegerLiteral",
@@ -13,8 +13,8 @@
13
13
  <key>CFBundleSignature</key>
14
14
  <string>????</string>
15
15
  <key>CFBundleShortVersionString</key>
16
- <string>5.0.7</string>
16
+ <string>5.0.8</string>
17
17
  <key>CFBundleVersion</key>
18
- <string>17270</string>
18
+ <string>17333</string>
19
19
  </dict>
20
20
  </plist>