@regulaforensics/document-reader 7.2.416-rc → 7.2.417-nightly
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 +1 -1
- package/RNDocumentReader.podspec +2 -2
- package/android/build.gradle +2 -2
- package/android/cordova.gradle +2 -2
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +1 -1
- package/examples/capacitor/package.json +1 -1
- package/examples/ionic/package.json +1 -1
- 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/capacitor/params/process_params/AuthenticityParams.js +1 -1
- package/www/capacitor/params/process_params/LivenessParams.js +1 -1
- package/www/capacitor/params/process_params/ProcessParams.js +1 -1
- package/www/cordova.js +3 -3
- package/www/react-native/params/process_params/AuthenticityParams.js +1 -1
- package/www/react-native/params/process_params/LivenessParams.js +1 -1
- package/www/react-native/params/process_params/ProcessParams.js +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ Document Reader allows you to read various kinds of identification documents, pa
|
|
|
3
3
|
|
|
4
4
|
## Demo applications
|
|
5
5
|
In the [examples](examples/) folder you can find 3 demo applications:
|
|
6
|
-
* [React-native](examples/
|
|
6
|
+
* [React-native](examples/react_native)
|
|
7
7
|
* [Ionic(ionic app with cordova, angular)](examples/ionic)
|
|
8
8
|
* [Capacitor(ionic app with capacitor, react)](examples/capacitor)
|
|
9
9
|
|
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 = '7.2.
|
|
8
|
+
s.version = '7.2.417-nightly'
|
|
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 '
|
|
19
|
+
s.dependency 'DocumentReaderNightly', '8.4.5391'
|
|
20
20
|
s.dependency 'React'
|
|
21
21
|
end
|
package/android/build.gradle
CHANGED
|
@@ -20,7 +20,7 @@ android {
|
|
|
20
20
|
rootProject.allprojects {
|
|
21
21
|
repositories {
|
|
22
22
|
maven {
|
|
23
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
23
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -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.4.
|
|
32
|
+
implementation('com.regula.documentreader:api:8.4.12017'){
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
package/android/cordova.gradle
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
repositories {
|
|
2
2
|
maven {
|
|
3
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
3
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
dependencies {
|
|
8
8
|
//noinspection GradleDependency
|
|
9
|
-
implementation('com.regula.documentreader:api:8.4.
|
|
9
|
+
implementation('com.regula.documentreader:api:8.4.12017'){
|
|
10
10
|
transitive = true
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -1811,7 +1811,7 @@ fun filterObjectFromJSON(it: JSONObject): FilterObject {
|
|
|
1811
1811
|
}
|
|
1812
1812
|
|
|
1813
1813
|
fun filterObjectTypeIntFromJSON(input: JSONObject?): FilterObjectType<Int>? = input?.let {
|
|
1814
|
-
val array = it.getJSONArray("list").
|
|
1814
|
+
val array = it.getJSONArray("list").toIntArray()!!.toTypedArray()
|
|
1815
1815
|
if (it.getBoolean("isInclude"))
|
|
1816
1816
|
return FilterObjectType.createIncludeList(array)
|
|
1817
1817
|
return FilterObjectType.createExcludeList(array)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@regulaforensics/document-reader": "7.2.
|
|
9
|
+
"@regulaforensics/document-reader": "7.2.417-nightly",
|
|
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",
|
|
@@ -18,7 +18,7 @@
|
|
|
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": "7.2.
|
|
21
|
+
"@regulaforensics/document-reader": "7.2.417-nightly",
|
|
22
22
|
"@regulaforensics/document-reader-core-fullauthrfid": "8.2.8-beta",
|
|
23
23
|
"@regulaforensics/document-reader-btdevice": "8.2.8-beta",
|
|
24
24
|
"cordova-android": "^14.0.1",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"start": "expo start"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@regulaforensics/document-reader": "7.2.
|
|
11
|
+
"@regulaforensics/document-reader": "7.2.417-nightly",
|
|
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": "7.2.
|
|
3
|
+
"version": "7.2.417-nightly",
|
|
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="7.2.
|
|
2
|
+
<plugin id="@regulaforensics/document-reader" version="7.2.417-nightly" 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="
|
|
32
|
+
<pod name="DocumentReaderNightly" spec="8.4.5391" />
|
|
33
33
|
</pods>
|
|
34
34
|
</podspec>
|
|
35
35
|
</platform>
|
package/test/package-lock.json
CHANGED
package/www/cordova.js
CHANGED
|
@@ -3238,7 +3238,7 @@ class AuthenticityParams {
|
|
|
3238
3238
|
|
|
3239
3239
|
clearCheckFilter() {
|
|
3240
3240
|
this._checkFilters = {};
|
|
3241
|
-
this._set({ "clearCheckFilter":
|
|
3241
|
+
this._set({ "clearCheckFilter": '' });
|
|
3242
3242
|
}
|
|
3243
3243
|
|
|
3244
3244
|
static fromJson(jsonObject) {
|
|
@@ -3798,7 +3798,7 @@ class LivenessParams {
|
|
|
3798
3798
|
|
|
3799
3799
|
clearCheckFilter() {
|
|
3800
3800
|
this._checkFilters = {};
|
|
3801
|
-
this._set({ "clearCheckFilter":
|
|
3801
|
+
this._set({ "clearCheckFilter": '' });
|
|
3802
3802
|
}
|
|
3803
3803
|
|
|
3804
3804
|
static fromJson(jsonObject) {
|
|
@@ -4366,7 +4366,7 @@ class ProcessParams {
|
|
|
4366
4366
|
|
|
4367
4367
|
clearCheckFilter() {
|
|
4368
4368
|
this._checkFilters = {};
|
|
4369
|
-
this._set({ "clearCheckFilter":
|
|
4369
|
+
this._set({ "clearCheckFilter": '' });
|
|
4370
4370
|
}
|
|
4371
4371
|
|
|
4372
4372
|
static fromJson(jsonObject) {
|