@regulaforensics/cordova-plugin-document-reader-api 9.1.336-nightly → 9.1.337-rc
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/example/package.json +2 -2
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/android/Main.kt +3 -3
- package/src/android/build.gradle +2 -2
package/example/package.json
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"author": "Regula Forensics Inc.",
|
|
14
14
|
"license": "commercial",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@regulaforensics/cordova-plugin-document-reader-api": "9.1.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.1.
|
|
16
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "9.1.337-rc",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.1.1602-rc",
|
|
18
18
|
"cordova-android": "13.0.0",
|
|
19
19
|
"cordova-ios": "7.1.1",
|
|
20
20
|
"cordova-plugin-add-swift-support": "2.0.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/cordova-plugin-document-reader-api",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.337-rc",
|
|
4
4
|
"description": "Cordova plugin for reading and validation of identification documents (API framework)",
|
|
5
5
|
"cordova": {
|
|
6
6
|
"id": "@regulaforensics/cordova-plugin-document-reader-api",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="@regulaforensics/cordova-plugin-document-reader-api" version="9.1.
|
|
2
|
+
<plugin id="@regulaforensics/cordova-plugin-document-reader-api" version="9.1.337-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>DocumentReaderApi</name>
|
|
4
4
|
<description>Cordova plugin Document reader api</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="DocumentReaderStage" spec="9.1.5661" />
|
|
33
33
|
</pods>
|
|
34
34
|
</podspec>
|
|
35
35
|
</platform>
|
package/src/android/Main.kt
CHANGED
|
@@ -220,12 +220,12 @@ fun checkDatabaseUpdate(callback: Callback, databaseID: String) = Instance().che
|
|
|
220
220
|
@Suppress("DEPRECATION")
|
|
221
221
|
fun scan(config: JSONObject) {
|
|
222
222
|
stopBackgroundRFID()
|
|
223
|
-
Instance().showScanner(
|
|
223
|
+
Instance().showScanner(context, scannerConfigFromJSON(config), IDocumentReaderCompletion(completion))
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
fun startScanner(config: JSONObject) {
|
|
227
227
|
stopBackgroundRFID()
|
|
228
|
-
Instance().startScanner(
|
|
228
|
+
Instance().startScanner(context, scannerConfigFromJSON(config), IDocumentReaderCompletion(completion))
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
fun recognize(config: JSONObject) {
|
|
@@ -244,7 +244,7 @@ fun startRFIDReader(onRequestPACertificates: Boolean, onRequestTACertificates: B
|
|
|
244
244
|
onRequestTACertificates,
|
|
245
245
|
onRequestTASignature
|
|
246
246
|
)
|
|
247
|
-
Instance().startRFIDReader(
|
|
247
|
+
Instance().startRFIDReader(context, rfidReaderCompletion, requestType.getRfidReaderRequest())
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
fun readRFID(onRequestPACertificates: Boolean, onRequestTACertificates: Boolean, onRequestTASignature: Boolean) {
|
package/src/android/build.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/Stage"
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
dependencies {
|
|
8
8
|
//noinspection GradleDependency
|
|
9
|
-
implementation ('com.regula.documentreader:api:9.1.
|
|
9
|
+
implementation ('com.regula.documentreader:api:9.1.12214'){
|
|
10
10
|
transitive = true
|
|
11
11
|
}
|
|
12
12
|
}
|