@regulaforensics/cordova-plugin-document-reader-api 9.3.450-beta → 9.3.453-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 +1 -1
- package/src/android/Main.kt +2 -2
- package/src/android/build.gradle +1 -1
- package/www/DocumentReader.js +3 -0
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.3.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.
|
|
16
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "9.3.453-rc",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.3.2057-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.3.
|
|
3
|
+
"version": "9.3.453-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.3.
|
|
2
|
+
<plugin id="@regulaforensics/cordova-plugin-document-reader-api" version="9.3.453-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>
|
package/src/android/Main.kt
CHANGED
|
@@ -73,7 +73,7 @@ fun methodCall(method: String, callback: (Any?) -> Unit): Any = when (method) {
|
|
|
73
73
|
"initialize" -> initialize(callback, args(0))
|
|
74
74
|
"initializeReader" -> initialize(callback, args(0)) // deprecated
|
|
75
75
|
"initializeReaderWithBleDeviceConfig" -> initializeReaderWithBleDeviceConfig(callback, args(0)) // deprecated
|
|
76
|
-
"
|
|
76
|
+
"deinitializeReader" -> deinitializeReader()
|
|
77
77
|
"prepareDatabase" -> prepareDatabase(callback, args(0))
|
|
78
78
|
"removeDatabase" -> removeDatabase(callback)
|
|
79
79
|
"runAutoUpdate" -> runAutoUpdate(callback, args(0))
|
|
@@ -205,7 +205,7 @@ fun initialize(callback: Callback, config: JSONObject) =
|
|
|
205
205
|
// deprecated
|
|
206
206
|
fun initializeReaderWithBleDeviceConfig(callback: Callback, config: JSONObject) = Instance().initializeReader(context, initBleDeviceConfigFromJSON(config), initCompletion(callback))
|
|
207
207
|
|
|
208
|
-
fun
|
|
208
|
+
fun deinitializeReader() = Instance().deinitializeReader()
|
|
209
209
|
|
|
210
210
|
fun prepareDatabase(callback: Callback, databaseID: String) = Instance().prepareDatabase(
|
|
211
211
|
context,
|
package/src/android/build.gradle
CHANGED
package/www/DocumentReader.js
CHANGED
|
@@ -1775,6 +1775,9 @@ class Customization {
|
|
|
1775
1775
|
result.colors = CustomizationColors.fromJson(jsonObject["colors"])
|
|
1776
1776
|
result.fonts = CustomizationFonts.fromJson(jsonObject["fonts"])
|
|
1777
1777
|
result.images = CustomizationImages.fromJson(jsonObject["images"])
|
|
1778
|
+
result.timings = CustomizationTimings.fromJson(jsonObject["timings"])
|
|
1779
|
+
result.contentModes = CustomizationContentModes.fromJson(jsonObject["contentModes"])
|
|
1780
|
+
result.matrices = CustomizationMatrices.fromJson(jsonObject["matrices"])
|
|
1778
1781
|
|
|
1779
1782
|
return result
|
|
1780
1783
|
}
|