@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.
Files changed (31) hide show
  1. package/README.md +1 -1
  2. package/RNIDV.podspec +3 -3
  3. package/android/{CVDIDV.kt → CDVIDV.kt} +1 -1
  4. package/android/build.gradle +1 -1
  5. package/android/cordova.gradle +1 -1
  6. package/examples/capacitor/android/app/build.gradle +2 -2
  7. package/examples/capacitor/android/app/capacitor.build.gradle +1 -4
  8. package/examples/capacitor/android/app/src/main/AndroidManifest.xml +1 -1
  9. package/examples/capacitor/android/build.gradle +3 -3
  10. package/examples/capacitor/android/capacitor.settings.gradle +0 -6
  11. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  12. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  13. package/examples/capacitor/android/gradlew +4 -5
  14. package/examples/capacitor/android/gradlew.bat +2 -2
  15. package/examples/capacitor/android/variables.gradle +10 -10
  16. package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +4 -4
  17. package/examples/capacitor/ios/App/Podfile +3 -1
  18. package/examples/capacitor/ios/App/Podfile.lock +52 -0
  19. package/examples/capacitor/package-lock.json +703 -784
  20. package/examples/capacitor/package.json +17 -17
  21. package/examples/ionic/images/icon.png +0 -0
  22. package/examples/ionic/package-lock.json +2154 -2201
  23. package/examples/ionic/package.json +24 -22
  24. package/examples/ionic/patches/cordova-plugin-ionic-webview+5.0.1.patch +23 -0
  25. package/examples/ionic/scripts/ios.sh +1 -1
  26. package/examples/react_native/package-lock.json +988 -1764
  27. package/examples/react_native/package.json +7 -7
  28. package/ios/{CVDIDV.swift → CDVIDV.swift} +7 -7
  29. package/package.json +1 -1
  30. package/plugin.xml +6 -6
  31. 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.2.70",
12
- "@regulaforensics/document-reader": "9.1.505",
13
- "@regulaforensics/face-sdk": "7.2.691",
14
- "@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
15
- "@regulaforensics/face-core-basic": "7.2.265",
16
- "@regulaforensics/idv-module-document-reader": "3.2.50",
17
- "@regulaforensics/idv-module-face": "3.2.51",
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: CVDIDV?
3
+ private var this: CDVIDV?
4
4
 
5
- func sendEvent(_ event: String, _ data: Any? = nil) {
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() as Any?
11
- if sendable is NSNull { sendable = nil }
12
- let result = CDVPluginResult(status: CDVCommandStatus_OK, messageAs: sendable as! String?)!
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(CVDIDV)
28
- class CVDIDV: CDVPlugin {
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.2.70",
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.70" xmlns="http://apache.org/cordova/ns/plugins/1.0">
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="CVDIDV" />
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/CVDIDV.swift" />
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.2.1670" />
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.CVDIDV" />
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/CVDIDV.kt" target-dir="java/com.regula.plugin.idv" />
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" />
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "..": {
15
15
  "name": "@regulaforensics/idv",
16
- "version": "3.2.70",
16
+ "version": "3.4.84-beta",
17
17
  "dev": true,
18
18
  "license": "commercial"
19
19
  },