@regulaforensics/react-native-document-reader-api 8.5.350-rc → 9.1.355-nightly

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.
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
14
14
  s.source = { :http => 'file:' + __dir__ }
15
15
  s.ios.deployment_target = '13.0'
16
16
  s.source_files = "ios/*.{h,m}"
17
- s.dependency 'DocumentReaderStage', '8.5.5587'
17
+ s.dependency 'DocumentReaderNightly', '9.1.5633'
18
18
  s.dependency 'React'
19
19
  end
@@ -20,7 +20,7 @@ android {
20
20
  rootProject.allprojects {
21
21
  repositories {
22
22
  maven {
23
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
23
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
24
24
  }
25
25
  }
26
26
  }
@@ -29,7 +29,7 @@ dependencies {
29
29
  //noinspection GradleDynamicVersion
30
30
  implementation 'com.facebook.react:react-native:+'
31
31
  //noinspection GradleDependency
32
- implementation('com.regula.documentreader:api:8.5.12147') {
32
+ implementation('com.regula.documentreader:api:9.1.12195') {
33
33
  transitive = true
34
34
  }
35
35
  }
@@ -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(context, scannerConfigFromJSON(config), IDocumentReaderCompletion(completion))
223
+ Instance().showScanner(activity, scannerConfigFromJSON(config), IDocumentReaderCompletion(completion))
224
224
  }
225
225
 
226
226
  fun startScanner(config: JSONObject) {
227
227
  stopBackgroundRFID()
228
- Instance().startScanner(context, scannerConfigFromJSON(config), IDocumentReaderCompletion(completion))
228
+ Instance().startScanner(activity, 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(context, rfidReaderCompletion, requestType.getRfidReaderRequest())
247
+ Instance().startRFIDReader(activity, rfidReaderCompletion, requestType.getRfidReaderRequest())
248
248
  }
249
249
 
250
250
  fun readRFID(onRequestPACertificates: Boolean, onRequestTACertificates: Boolean, onRequestTASignature: Boolean) {
@@ -10,8 +10,8 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "@regulaforensics/react-native-document-reader-api": "8.5.350-rc",
14
- "@regulaforensics/react-native-document-reader-core-fullauthrfid": "8.5.1295-rc",
13
+ "@regulaforensics/react-native-document-reader-api": "9.1.355-nightly",
14
+ "@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.1.1551-nightly",
15
15
  "@rneui/base": "4.0.0-rc.7",
16
16
  "@rneui/themed": "4.0.0-rc.7",
17
17
  "react": "19.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/react-native-document-reader-api",
3
- "version": "8.5.350-rc",
3
+ "version": "9.1.355-nightly",
4
4
  "description": "React Native module for reading and validation of identification documents (API framework)",
5
5
  "main": "index.js",
6
6
  "scripts": {