@regulaforensics/idv 3.2.70 → 3.4.84-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/README.md +1 -1
- package/RNIDV.podspec +3 -3
- package/android/{CVDIDV.kt → CDVIDV.kt} +1 -1
- package/android/build.gradle +1 -1
- package/android/cordova.gradle +1 -1
- package/examples/capacitor/android/app/build.gradle +2 -2
- package/examples/capacitor/android/app/capacitor.build.gradle +1 -4
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +1 -1
- package/examples/capacitor/android/build.gradle +3 -3
- package/examples/capacitor/android/capacitor.settings.gradle +0 -6
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/examples/capacitor/android/gradlew +4 -5
- package/examples/capacitor/android/gradlew.bat +2 -2
- package/examples/capacitor/android/variables.gradle +10 -10
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +4 -4
- package/examples/capacitor/ios/App/Podfile +3 -1
- package/examples/capacitor/ios/App/Podfile.lock +52 -0
- package/examples/capacitor/package-lock.json +703 -784
- package/examples/capacitor/package.json +17 -17
- package/examples/ionic/images/icon.png +0 -0
- package/examples/ionic/package-lock.json +2154 -2201
- package/examples/ionic/package.json +24 -22
- package/examples/ionic/patches/cordova-plugin-ionic-webview+5.0.1.patch +23 -0
- package/examples/ionic/scripts/ios.sh +1 -1
- package/examples/react_native/package-lock.json +988 -1764
- package/examples/react_native/package.json +7 -7
- package/ios/{CVDIDV.swift → CDVIDV.swift} +7 -7
- package/package.json +1 -1
- package/plugin.xml +6 -6
- package/test/package-lock.json +1 -1
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
"start": "expo start"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@regulaforensics/idv": "3.
|
|
12
|
-
"@regulaforensics/document-reader": "9.
|
|
13
|
-
"@regulaforensics/face-sdk": "
|
|
14
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "9.
|
|
15
|
-
"@regulaforensics/face-core-basic": "
|
|
16
|
-
"@regulaforensics/idv-module-document-reader": "3.
|
|
17
|
-
"@regulaforensics/idv-module-face": "3.
|
|
11
|
+
"@regulaforensics/idv": "3.4.84-beta",
|
|
12
|
+
"@regulaforensics/document-reader": "9.2.621",
|
|
13
|
+
"@regulaforensics/face-sdk": "8.1.796",
|
|
14
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.2.1513",
|
|
15
|
+
"@regulaforensics/face-core-basic": "8.1.422",
|
|
16
|
+
"@regulaforensics/idv-module-document-reader": "3.4.54-beta",
|
|
17
|
+
"@regulaforensics/idv-module-face": "3.4.55-beta",
|
|
18
18
|
"react-native": "^0.81.4",
|
|
19
19
|
"react-native-webview": "^13.16.0",
|
|
20
20
|
"@react-native/metro-config": "^0.81.1",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var eventCallbackIds: [String: String] = [:]
|
|
2
2
|
private var args: [Any?] = []
|
|
3
|
-
private var this:
|
|
3
|
+
private var this: CDVIDV?
|
|
4
4
|
|
|
5
|
-
func sendEvent(_ event: String, _ data: Any? =
|
|
5
|
+
func sendEvent(_ event: String, _ data: Any? = "") {
|
|
6
6
|
var callbackId = event
|
|
7
7
|
let eventId = eventCallbackIds[event]
|
|
8
8
|
if eventId != nil { callbackId = eventId! }
|
|
9
9
|
|
|
10
|
-
var sendable = data.toSendable()
|
|
11
|
-
if sendable is NSNull { sendable =
|
|
12
|
-
let result = CDVPluginResult(status:
|
|
10
|
+
var sendable = data.toSendable()
|
|
11
|
+
if sendable is NSNull { sendable = "" }
|
|
12
|
+
let result = CDVPluginResult(status: CDVCommandStatus.ok, messageAs: sendable as! String)
|
|
13
13
|
result.setKeepCallbackAs(true)
|
|
14
14
|
|
|
15
15
|
this!.commandDelegate.send(result, callbackId: callbackId)
|
|
@@ -24,8 +24,8 @@ func argsNullable<T>(_ index: Int) -> T? {
|
|
|
24
24
|
return args[index] as! T?
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
@objc(
|
|
28
|
-
class
|
|
27
|
+
@objc(CDVIDV)
|
|
28
|
+
class CDVIDV: CDVPlugin {
|
|
29
29
|
@objc(exec:)
|
|
30
30
|
func exec(_ command: CDVInvokedUrlCommand) {
|
|
31
31
|
this = self
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/idv",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.84-beta",
|
|
4
4
|
"description": "This is an npm module for Regula IDV, which unifies access to all Regula products. This plugin makes possible to use it with react-native, cordova and capacitor applications. Supports Android and iOS.",
|
|
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/idv" version="3.
|
|
2
|
+
<plugin id="@regulaforensics/idv" version="3.4.84-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>IDV</name>
|
|
4
4
|
<description>Cordova plugin for Regula IDV</description>
|
|
5
5
|
<license>commercial</license>
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
<platform name="ios">
|
|
13
13
|
<config-file target="config.xml" parent="/widget">
|
|
14
14
|
<feature name="IDV">
|
|
15
|
-
<param name="ios-package" value="
|
|
15
|
+
<param name="ios-package" value="CDVIDV" />
|
|
16
16
|
</feature>
|
|
17
17
|
<preference name="deployment-target" value="14.0" />
|
|
18
18
|
<preference name="SwiftVersion" value="5" />
|
|
19
19
|
</config-file>
|
|
20
|
-
<source-file src="ios/
|
|
20
|
+
<source-file src="ios/CDVIDV.swift" />
|
|
21
21
|
<source-file src="ios/Main.swift" />
|
|
22
22
|
<source-file src="ios/JSONConstructor.swift" />
|
|
23
23
|
<source-file src="ios/Utils.swift" />
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<source url="https://github.com/CocoaPods/Specs.git" />
|
|
27
27
|
</config>
|
|
28
28
|
<pods>
|
|
29
|
-
<pod name="IDVSDK" spec="3.
|
|
29
|
+
<pod name="IDVSDK" spec="3.3.1715" />
|
|
30
30
|
</pods>
|
|
31
31
|
</podspec>
|
|
32
32
|
</platform>
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
<platform name="android">
|
|
35
35
|
<config-file parent="/*" target="res/xml/config.xml">
|
|
36
36
|
<feature name="IDV">
|
|
37
|
-
<param name="android-package" value="com.regula.plugin.idv.
|
|
37
|
+
<param name="android-package" value="com.regula.plugin.idv.CDVIDV" />
|
|
38
38
|
</feature>
|
|
39
39
|
</config-file>
|
|
40
40
|
<framework src="android/cordova.gradle" custom="true" type="gradleReference" />
|
|
41
|
-
<source-file src="android/
|
|
41
|
+
<source-file src="android/CDVIDV.kt" target-dir="java/com.regula.plugin.idv" />
|
|
42
42
|
<source-file src="android/src/main/java/com/regula/plugin/idv/Main.kt" target-dir="java/com.regula.plugin.idv" />
|
|
43
43
|
<source-file src="android/src/main/java/com/regula/plugin/idv/JSONConstructor.kt" target-dir="java/com.regula.plugin.idv" />
|
|
44
44
|
<source-file src="android/src/main/java/com/regula/plugin/idv/Utils.kt" target-dir="java/com.regula.plugin.idv" />
|