@regulaforensics/document-reader 9.10.1297-rc → 9.10.1299-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/Package.swift CHANGED
@@ -10,7 +10,7 @@ let package = Package(
10
10
  .package(url: "https://github.com/apache/cordova-ios.git", branch: "master"),
11
11
  .package(
12
12
  url: "https://github.com/regulaforensics/DocumentReader-Swift-Package",
13
- exact: "9.10.7309-rc"
13
+ exact: "9.10.7321-rc"
14
14
  )
15
15
  ],
16
16
  targets: [
@@ -31,7 +31,7 @@ dependencies {
31
31
  //noinspection GradleDynamicVersion
32
32
  implementation("com.facebook.react:react-native:+")
33
33
  //noinspection GradleDependency
34
- implementation("com.regula.documentreader:api:9.10.13691") {
34
+ implementation("com.regula.documentreader:api:9.10.13702") {
35
35
  isTransitive = true
36
36
  }
37
37
  }
@@ -7,7 +7,7 @@ repositories {
7
7
 
8
8
  dependencies {
9
9
  //noinspection GradleDependency
10
- add("implementation", "com.regula.documentreader:api:9.10.13691") {
10
+ add("implementation", "com.regula.documentreader:api:9.10.13702") {
11
11
  isTransitive = true
12
12
  }
13
13
  }
@@ -565,23 +565,23 @@ fun getRfidReaderRequest(config: JSONObject? = null): IRfidReaderRequest {
565
565
  val result = IRfidReaderRequest()
566
566
  if (config == null) return result
567
567
 
568
- if (config.getBoolean("paCertificates")) result.setPACertificates { serialNumber, issuer, completion ->
568
+ if (config.getBooleanOrNull("paCertificates") == true) result.setPACertificates { serialNumber, issuer, completion ->
569
569
  paCertificateCompletion = completion
570
570
  sendEvent(paCertificateCompletionEvent, generatePACertificateCompletion(serialNumber, issuer))
571
571
  }
572
- if (config.getBoolean("taCertificates")) result.setTACertificates { keyCAR, completion ->
572
+ if (config.getBooleanOrNull("taCertificates") == true) result.setTACertificates { keyCAR, completion ->
573
573
  taCertificateCompletion = completion
574
574
  sendEvent(taCertificateCompletionEvent, keyCAR)
575
575
  }
576
- if (config.getBoolean("taSignature")) result.setTASignature { challenge, completion ->
576
+ if (config.getBooleanOrNull("taSignature") == true) result.setTASignature { challenge, completion ->
577
577
  taSignatureCompletion = completion
578
578
  sendEvent(taSignatureCompletionEvent, generateTAChallenge(challenge))
579
579
  }
580
- if (config.getBoolean("aaChallenge")) result.setRfidAaChallenge { challenge, completion ->
580
+ if (config.getBooleanOrNull("aaChallenge") == true) result.setRfidAaChallenge { challenge, completion ->
581
581
  aaChallengeCompletion = completion
582
582
  sendEvent(aaChallengeCompletionEvent, challenge)
583
583
  }
584
- if (config.getBoolean("paceProtocol") || config.getBoolean("caProtocol")) result.setRfidAccessControl(object : IRfidAccessControl {
584
+ if (config.getBooleanOrNull("paceProtocol") == true || config.getBooleanOrNull("caProtocol") == true) result.setRfidAccessControl(object : IRfidAccessControl {
585
585
  override fun onRequestPaceProtocol(list: List<PaceProtocol?>, completion: IPaceProtocolCompletion) {
586
586
  paceProtocolCompletion = completion
587
587
  sendEvent(paceProtocolCompletionEvent, list.toJson(::generatePaceProtocol))
@@ -7,7 +7,7 @@
7
7
  "android": "scripts/android.sh"
8
8
  },
9
9
  "dependencies": {
10
- "@regulaforensics/document-reader": "9.10.1297-rc",
10
+ "@regulaforensics/document-reader": "9.10.1299-beta",
11
11
  "@regulaforensics/document-reader-core-fullauthrfid": "9.9.3305",
12
12
  "@regulaforensics/document-reader-btdevice": "9.9.140",
13
13
  "@capacitor/cli": "^8.5.2",
@@ -20,7 +20,7 @@
20
20
  "@ionic/cordova-builders": "^13.0.0",
21
21
  "@awesome-cordova-plugins/camera": "^9.6.0",
22
22
  "@awesome-cordova-plugins/file": "^9.6.0",
23
- "@regulaforensics/document-reader": "9.10.1297-rc",
23
+ "@regulaforensics/document-reader": "9.10.1299-beta",
24
24
  "@regulaforensics/document-reader-core-fullauthrfid": "9.9.3305",
25
25
  "@regulaforensics/document-reader-btdevice": "9.9.140",
26
26
  "cordova": "^13.0.0",
@@ -7,7 +7,7 @@
7
7
  "android": "scripts/android.sh"
8
8
  },
9
9
  "dependencies": {
10
- "@regulaforensics/document-reader": "9.10.1297-rc",
10
+ "@regulaforensics/document-reader": "9.10.1299-beta",
11
11
  "@regulaforensics/document-reader-core-fullauthrfid": "9.9.3305",
12
12
  "@regulaforensics/document-reader-btdevice": "9.9.140",
13
13
  "react-native-fs": "^2.20.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/document-reader",
3
- "version": "9.10.1297-rc",
3
+ "version": "9.10.1299-beta",
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="9.10.1297-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/document-reader" version="9.10.1299-beta" 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/regulaforensics/podspecs.git" />
30
30
  </config>
31
31
  <pods>
32
- <pod name="DocumentReaderStage" spec="9.10.7309" nospm="true" />
32
+ <pod name="DocumentReaderStage" spec="9.10.7321" nospm="true" />
33
33
  </pods>
34
34
  </podspec>
35
35
  </platform>
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'react-native-document-reader'
3
- s.version = '9.10.1297-rc'
3
+ s.version = '9.10.1299-beta'
4
4
  s.summary = 'Regula React Native plugin.'
5
5
  s.license = 'commercial'
6
6
  s.authors = { 'RegulaForensics' => 'support@regulaforensics.com' }
@@ -9,6 +9,6 @@ Pod::Spec.new do |s|
9
9
  s.ios.deployment_target = '16.0'
10
10
  s.source_files = 'ios/*.{h,m}'
11
11
  s.exclude_files = [ 'ios/CVDDocumentReader.h', 'ios/CVDDocumentReader.m' ]
12
- s.dependency 'DocumentReaderStage', '9.10.7309'
12
+ s.dependency 'DocumentReaderStage', '9.10.7321'
13
13
  s.dependency 'React'
14
14
  end