@regulaforensics/document-reader 8.3.296-beta → 8.3.308-beta
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/RNDocumentReader.podspec +2 -2
- package/android/build.gradle +3 -3
- package/android/cordova.gradle +1 -1
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +1 -1
- package/examples/capacitor/android/variables.gradle +3 -3
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +2 -2
- package/examples/capacitor/package.json +1 -1
- package/examples/ionic/config.xml +2 -0
- package/examples/ionic/images/icon.png +0 -0
- package/examples/ionic/package.json +2 -2
- package/examples/react_native/app.config.ts +1 -5
- package/examples/react_native/images/icon.png +0 -0
- package/examples/react_native/metro.config.js +2 -0
- package/examples/react_native/package.json +1 -1
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/package-lock.json +1 -1
- package/www/types/results/TransactionInfo.d.ts +1 -1
- package/examples/react_native/images/icon/adaptive-icon.png +0 -0
- package/examples/react_native/images/icon/icon.png +0 -0
package/RNDocumentReader.podspec
CHANGED
|
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
|
|
|
5
5
|
|
|
6
6
|
Pod::Spec.new do |s|
|
|
7
7
|
s.name = 'RNDocumentReader'
|
|
8
|
-
s.version = '8.3.
|
|
8
|
+
s.version = '8.3.308-beta'
|
|
9
9
|
s.summary = package['description']
|
|
10
10
|
s.license = package['license']
|
|
11
11
|
|
|
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
s.ios.deployment_target = '13.0'
|
|
17
17
|
s.source_files = 'ios/**/*.{h,m}'
|
|
18
18
|
s.exclude_files = [ 'ios/CVDDocumentReader.h', 'ios/CVDDocumentReader.m' ]
|
|
19
|
-
s.dependency 'DocumentReaderStage', '8.3.
|
|
19
|
+
s.dependency 'DocumentReaderStage', '8.3.5085'
|
|
20
20
|
s.dependency 'React'
|
|
21
21
|
end
|
package/android/build.gradle
CHANGED
|
@@ -7,11 +7,11 @@ android {
|
|
|
7
7
|
namespace 'com.regula.plugin.documentreader'
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
compileSdk
|
|
10
|
+
compileSdk 36
|
|
11
11
|
|
|
12
12
|
defaultConfig {
|
|
13
13
|
minSdkVersion 24
|
|
14
|
-
targetSdk
|
|
14
|
+
targetSdk 36
|
|
15
15
|
versionCode 1
|
|
16
16
|
versionName "1.0"
|
|
17
17
|
}
|
|
@@ -29,7 +29,7 @@ dependencies {
|
|
|
29
29
|
//noinspection GradleDynamicVersion
|
|
30
30
|
implementation 'com.facebook.react:react-native:+'
|
|
31
31
|
//noinspection GradleDependency
|
|
32
|
-
implementation('com.regula.documentreader:api:8.3.
|
|
32
|
+
implementation('com.regula.documentreader:api:8.3.11859'){
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
package/android/cordova.gradle
CHANGED
|
@@ -152,7 +152,7 @@ fun transactionInfoFromJSON(input: JSONObject?) = input?.let {
|
|
|
152
152
|
val result = TransactionInfo()
|
|
153
153
|
result.transactionId = it.getStringOrNull("transactionId")
|
|
154
154
|
result.tag = it.getStringOrNull("tag")
|
|
155
|
-
result.sessionLogFolder = it.
|
|
155
|
+
result.sessionLogFolder = it.getStringOrNull("sessionLogFolder")
|
|
156
156
|
result
|
|
157
157
|
}
|
|
158
158
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ext {
|
|
2
2
|
minSdkVersion = 26
|
|
3
|
-
compileSdkVersion =
|
|
4
|
-
targetSdkVersion =
|
|
3
|
+
compileSdkVersion = 36
|
|
4
|
+
targetSdkVersion = 36
|
|
5
5
|
androidxActivityVersion = '1.9.2'
|
|
6
6
|
androidxAppCompatVersion = '1.7.0'
|
|
7
7
|
androidxCoordinatorLayoutVersion = '1.2.0'
|
|
@@ -12,5 +12,5 @@ ext {
|
|
|
12
12
|
junitVersion = '4.13.2'
|
|
13
13
|
androidxJunitVersion = '1.2.1'
|
|
14
14
|
androidxEspressoCoreVersion = '3.6.1'
|
|
15
|
-
cordovaAndroidVersion = '
|
|
15
|
+
cordovaAndroidVersion = '14.0.0'
|
|
16
16
|
}
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
CODE_SIGN_STYLE = Automatic;
|
|
356
356
|
CURRENT_PROJECT_VERSION = 1;
|
|
357
357
|
INFOPLIST_FILE = App/Info.plist;
|
|
358
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
358
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
|
|
359
359
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
360
360
|
MARKETING_VERSION = 1.0;
|
|
361
361
|
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
CODE_SIGN_STYLE = Automatic;
|
|
377
377
|
CURRENT_PROJECT_VERSION = 1;
|
|
378
378
|
INFOPLIST_FILE = App/Info.plist;
|
|
379
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
379
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
|
|
380
380
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
381
381
|
MARKETING_VERSION = 1.0;
|
|
382
382
|
PRODUCT_BUNDLE_IDENTIFIER = com.regula.example.dr.capacitor;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@regulaforensics/document-reader": "8.3.
|
|
9
|
+
"@regulaforensics/document-reader": "8.3.308-beta",
|
|
10
10
|
"@regulaforensics/document-reader-core-fullauthrfid": "8.2.8-beta",
|
|
11
11
|
"@regulaforensics/document-reader-btdevice": "8.2.8-beta",
|
|
12
12
|
"@awesome-cordova-plugins/file": "6.6.0",
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
<resource-file src="assets/db.dat" target="app/src/main/assets/Regula/db.dat" />
|
|
8
8
|
<preference name="orientation" value="portrait" />
|
|
9
9
|
<preference name="AndroidEdgeToEdge" value="true" />
|
|
10
|
+
<preference name="android-minSdkVersion" value="24" />
|
|
11
|
+
<preference name="android-targetSdkVersion" value="36" />
|
|
10
12
|
<preference name="GradlePluginKotlinEnabled" value="true" />
|
|
11
13
|
<config-file parent="/*" target="AndroidManifest.xml">
|
|
12
14
|
<uses-permission android:name="android.permission.NFC" />
|
|
Binary file
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"@awesome-cordova-plugins/file": "^8.1.0",
|
|
19
19
|
"@ionic/angular": "^8.7.3",
|
|
20
20
|
"@ionic/cordova-builders": "^12.3.0",
|
|
21
|
-
"@regulaforensics/document-reader": "8.3.
|
|
22
|
-
"@regulaforensics/document-reader-btdevice": "8.2.8-beta",
|
|
21
|
+
"@regulaforensics/document-reader": "8.3.308-beta",
|
|
23
22
|
"@regulaforensics/document-reader-core-fullauthrfid": "8.2.8-beta",
|
|
23
|
+
"@regulaforensics/document-reader-btdevice": "8.2.8-beta",
|
|
24
24
|
"cordova-android": "^14.0.1",
|
|
25
25
|
"cordova-ios": "^7.1.1",
|
|
26
26
|
"cordova-plugin-camera": "^8.0.0",
|
|
@@ -5,7 +5,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
|
|
|
5
5
|
slug: 'document-reader',
|
|
6
6
|
name: 'Document',
|
|
7
7
|
orientation: 'portrait',
|
|
8
|
-
icon: '
|
|
8
|
+
icon: 'images/icon.png',
|
|
9
9
|
ios: {
|
|
10
10
|
bundleIdentifier: 'com.regula.example.dr.react',
|
|
11
11
|
infoPlist: {
|
|
@@ -31,10 +31,6 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
|
|
|
31
31
|
permissions: [
|
|
32
32
|
'android.permission.BLUETOOTH_CONNECT',
|
|
33
33
|
'android.permission.NFC'],
|
|
34
|
-
adaptiveIcon: {
|
|
35
|
-
foregroundImage: './images/icon/adaptive-icon.png',
|
|
36
|
-
backgroundColor: '#ffffff'
|
|
37
|
-
},
|
|
38
34
|
edgeToEdgeEnabled: true
|
|
39
35
|
},
|
|
40
36
|
plugins: [
|
|
Binary file
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
const config = require('expo/metro-config').getDefaultConfig(__dirname)
|
|
2
2
|
config.watchFolders = [
|
|
3
|
+
__dirname + '/../core', // locally connected core module
|
|
4
|
+
__dirname + '/../btdevice', // locally connected btdevice module
|
|
3
5
|
__dirname + '/node_modules'
|
|
4
6
|
]
|
|
5
7
|
config.resolver.nodeModulesPaths = config.watchFolders
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"start": "expo start"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@regulaforensics/document-reader": "8.3.
|
|
11
|
+
"@regulaforensics/document-reader": "8.3.308-beta",
|
|
12
12
|
"@regulaforensics/document-reader-core-fullauthrfid": "8.2.8-beta",
|
|
13
13
|
"@regulaforensics/document-reader-btdevice": "8.2.8-beta",
|
|
14
14
|
"react-native": "^0.81.4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/document-reader",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.308-beta",
|
|
4
4
|
"description": "This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.",
|
|
5
5
|
"main": "www/react-native/index.js",
|
|
6
6
|
"module": "www/capacitor/index.js",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="@regulaforensics/document-reader" version="8.3.
|
|
2
|
+
<plugin id="@regulaforensics/document-reader" version="8.3.308-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>DocumentReader</name>
|
|
4
4
|
<description>Cordova plugin for Regula Document Reader SDK</description>
|
|
5
5
|
<license>commercial</license>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<source url="https://github.com/CocoaPods/Specs.git" />
|
|
30
30
|
</config>
|
|
31
31
|
<pods>
|
|
32
|
-
<pod name="DocumentReaderStage" spec="8.3.
|
|
32
|
+
<pod name="DocumentReaderStage" spec="8.3.5085" />
|
|
33
33
|
</pods>
|
|
34
34
|
</podspec>
|
|
35
35
|
</platform>
|
package/test/package-lock.json
CHANGED
|
@@ -2,7 +2,7 @@ export declare class TransactionInfo {
|
|
|
2
2
|
readonly transactionId?: string;
|
|
3
3
|
readonly tag?: string;
|
|
4
4
|
/** The path to the logs folder of the session. */
|
|
5
|
-
readonly sessionLogFolder
|
|
5
|
+
readonly sessionLogFolder?: string;
|
|
6
6
|
|
|
7
7
|
/** Allows you to deserialize object. */
|
|
8
8
|
static fromJson(jsonObject: any): TransactionInfo | null;
|
|
Binary file
|
|
Binary file
|