@regulaforensics/react-native-document-reader-api 7.5.785-nightly → 7.6.6-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/RNDocumentReaderApi.podspec +1 -1
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/regula/documentreader/BluetoothUtil.kt +1 -1
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.kt +1 -1
- package/example/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/example/package.json +2 -2
- package/package.json +2 -6
- package/.github/ISSUE_TEMPLATE/config.yml +0 -5
|
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
|
|
|
14
14
|
s.source = { :http => 'file:' + __dir__ }
|
|
15
15
|
s.ios.deployment_target = '12.0'
|
|
16
16
|
s.source_files = "ios/*.{h,m}"
|
|
17
|
-
s.dependency '
|
|
17
|
+
s.dependency 'DocumentReader', '7.5.4221'
|
|
18
18
|
s.dependency 'React'
|
|
19
19
|
end
|
package/android/build.gradle
CHANGED
|
@@ -32,7 +32,7 @@ android {
|
|
|
32
32
|
rootProject.allprojects {
|
|
33
33
|
repositories {
|
|
34
34
|
maven {
|
|
35
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader
|
|
35
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -41,7 +41,7 @@ dependencies {
|
|
|
41
41
|
//noinspection GradleDynamicVersion
|
|
42
42
|
implementation 'com.facebook.react:react-native:+'
|
|
43
43
|
//noinspection GradleDependency
|
|
44
|
-
implementation('com.regula.documentreader:api:7.5.
|
|
44
|
+
implementation('com.regula.documentreader:api:7.5.10412') {
|
|
45
45
|
transitive = true
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -88,7 +88,7 @@ fun connectBluetoothDevice(callback: Callback) {
|
|
|
88
88
|
|
|
89
89
|
fun onRequestPermissionsResult(
|
|
90
90
|
requestCode: Int,
|
|
91
|
-
permissions: Array<
|
|
91
|
+
permissions: Array<String>,
|
|
92
92
|
grantResults: IntArray
|
|
93
93
|
): Boolean {
|
|
94
94
|
if (requestCode != BLE_ACCESS_PERMISSION || permissions.isEmpty()) return false
|
|
@@ -79,7 +79,7 @@ class RNRegulaDocumentReaderModule(rc: ReactApplicationContext) : ReactContextBa
|
|
|
79
79
|
onActivityResult(requestCode, resultCode, data)
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<
|
|
82
|
+
override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<String>, grantResults: IntArray) = com.regula.documentreader.onRequestPermissionsResult(requestCode, permissions, grantResults)
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
fun sendEvent(event: String, data: Any? = "") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
zipStoreBase=GRADLE_USER_HOME
|
|
6
6
|
zipStorePath=wrapper/dists
|
package/example/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"test": "jest"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@regulaforensics/react-native-document-reader-api": "7.
|
|
14
|
-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.
|
|
13
|
+
"@regulaforensics/react-native-document-reader-api": "7.6.6-beta",
|
|
14
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.6.8-beta",
|
|
15
15
|
"react-native-progress": "5.0.0",
|
|
16
16
|
"react-native-radio-buttons-group": "3.0.5",
|
|
17
17
|
"@rneui/base": "4.0.0-rc.7",
|
package/package.json
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/react-native-document-reader-api",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.6.6-beta",
|
|
4
4
|
"description": "React Native module for reading and validation of identification documents (API framework)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
9
9
|
"keywords": [
|
|
10
|
-
"react-native",
|
|
11
|
-
"documentreader",
|
|
12
|
-
"reader",
|
|
13
|
-
"scanner",
|
|
14
|
-
"regula"
|
|
10
|
+
"react-native", "documentreader", "reader", "scanner", "regula"
|
|
15
11
|
],
|
|
16
12
|
"author": "Regulaforensics",
|
|
17
13
|
"license": "commercial",
|