@thegrizzlylabs/react-native-genius-scan 4.8.0 → 4.9.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 +2 -0
- package/android/build.gradle +4 -4
- package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/GSSDKCore +0 -0
- package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/GSSDKCore +0 -0
- package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/GSSDKOCR +0 -0
- package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/GSSDKOCR +0 -0
- package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/GSSDKScanFlow +0 -0
- package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/GSSDKScanFlow +0 -0
- package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Info.plist +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -114,6 +114,7 @@ It returns a promise with `result` object containing:
|
|
|
114
114
|
- `enhancedUrl`: the cropped and enhanced file, as processed by the SDK. "file://<filepath>.{jpeg|png}"
|
|
115
115
|
- `ocrResult`: the result of text recognition for this scan
|
|
116
116
|
- `text`: the raw text that was recognized
|
|
117
|
+
- `hocrTextLayout`: the recognized text in [hOCR](https://en.wikipedia.org/wiki/HOCR) format (with position, style…)
|
|
117
118
|
|
|
118
119
|
### (Optional) Generate a PDF document from multiple pages
|
|
119
120
|
|
|
@@ -127,6 +128,7 @@ The `document` parameter is a map containing the following values:
|
|
|
127
128
|
|
|
128
129
|
- `pages`: an array of page objects. Each page object has:
|
|
129
130
|
- `imageUrl`: the URL of the image file for this page, e.g. `file://<filepath>.{jpeg|png}`
|
|
131
|
+
- `hocrTextLayout`: the text layout in hOCR format
|
|
130
132
|
|
|
131
133
|
The `configuration` parameter provides the following options:
|
|
132
134
|
|
package/android/build.gradle
CHANGED
|
@@ -12,11 +12,11 @@ buildscript {
|
|
|
12
12
|
apply plugin: 'com.android.library'
|
|
13
13
|
|
|
14
14
|
android {
|
|
15
|
-
compileSdkVersion
|
|
15
|
+
compileSdkVersion 33
|
|
16
16
|
|
|
17
17
|
defaultConfig {
|
|
18
18
|
minSdkVersion 21
|
|
19
|
-
targetSdkVersion
|
|
19
|
+
targetSdkVersion 33
|
|
20
20
|
versionCode 1
|
|
21
21
|
versionName "1.0"
|
|
22
22
|
}
|
|
@@ -40,6 +40,6 @@ rootProject.allprojects {
|
|
|
40
40
|
|
|
41
41
|
dependencies {
|
|
42
42
|
implementation 'com.facebook.react:react-native:+'
|
|
43
|
-
implementation 'com.geniusscansdk:gssdk-scanflow:4.
|
|
44
|
-
implementation 'com.geniusscansdk:gssdk-ocr:4.
|
|
43
|
+
implementation 'com.geniusscansdk:gssdk-scanflow:4.9.0'
|
|
44
|
+
implementation 'com.geniusscansdk:gssdk-ocr:4.9.0'
|
|
45
45
|
}
|
|
Binary file
|
|
Binary file
|
package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/GSSDKCore
CHANGED
|
Binary file
|
package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Info.plist
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/GSSDKOCR
CHANGED
|
Binary file
|
package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/Info.plist
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thegrizzlylabs/react-native-genius-scan",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.9.0",
|
|
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",
|