@regulaforensics/document-reader 9.7.918-nightly → 9.7.919-rc
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/RNDocumentReader.podspec +2 -2
- package/android/build.gradle +2 -2
- package/android/cordova.gradle +2 -2
- package/examples/capacitor/README.md +1 -1
- package/examples/capacitor/package.json +1 -1
- package/examples/capacitor/scripts/android.sh +1 -3
- package/examples/capacitor/scripts/ios.sh +1 -3
- package/examples/capacitor/scripts/setup.sh +0 -2
- package/examples/ionic/README.md +1 -1
- package/examples/ionic/config.xml +2 -0
- package/examples/ionic/images/icon.png +0 -0
- package/examples/ionic/index.tsx +1 -1
- package/examples/ionic/package-lock.json +1865 -2701
- package/examples/ionic/package.json +25 -23
- package/examples/ionic/scripts/android.sh +1 -4
- package/examples/ionic/scripts/ios.sh +2 -5
- package/examples/ionic/scripts/setup.sh +0 -2
- package/examples/ionic/tsconfig.json +1 -1
- package/examples/react_native/README.md +1 -1
- package/examples/react_native/package.json +1 -1
- package/examples/react_native/scripts/android.sh +5 -5
- package/examples/react_native/scripts/ios.sh +5 -5
- package/examples/react_native/scripts/setup.sh +0 -2
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/package-lock.json +5 -2
- package/examples/ionic/patches/cordova-plugin-ionic-webview+5.0.1.patch +0 -23
package/RNDocumentReader.podspec
CHANGED
|
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
|
|
|
5
5
|
|
|
6
6
|
Pod::Spec.new do |s|
|
|
7
7
|
s.name = 'RNDocumentReader'
|
|
8
|
-
s.version = '9.7.
|
|
8
|
+
s.version = '9.7.919-rc'
|
|
9
9
|
s.summary = package['description']
|
|
10
10
|
s.license = package['license']
|
|
11
11
|
|
|
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
s.ios.deployment_target = '13.0'
|
|
17
17
|
s.source_files = 'ios/**/*.{h,m}'
|
|
18
18
|
s.exclude_files = [ 'ios/CVDDocumentReader.h', 'ios/CVDDocumentReader.m' ]
|
|
19
|
-
s.dependency '
|
|
19
|
+
s.dependency 'DocumentReaderStage', '9.7.6674'
|
|
20
20
|
s.dependency 'React'
|
|
21
21
|
end
|
package/android/build.gradle
CHANGED
|
@@ -20,7 +20,7 @@ android {
|
|
|
20
20
|
rootProject.allprojects {
|
|
21
21
|
repositories {
|
|
22
22
|
maven {
|
|
23
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
23
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
|
|
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:9.7.
|
|
32
|
+
implementation('com.regula.documentreader:api:9.7.13108'){
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
package/android/cordova.gradle
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
repositories {
|
|
2
2
|
maven {
|
|
3
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
3
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
dependencies {
|
|
8
8
|
//noinspection GradleDependency
|
|
9
|
-
implementation('com.regula.documentreader:api:9.7.
|
|
9
|
+
implementation('com.regula.documentreader:api:9.7.13108'){
|
|
10
10
|
transitive = true
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* IOS: `npm run ios`.
|
|
10
10
|
* Android: `npm run android`.
|
|
11
11
|
|
|
12
|
-
**Note**: this is just one way of running the app. You can also pass
|
|
12
|
+
**Note**: this is just one way of running the app. You can also pass `-o` or `--open` argument to the command, and this will open Xcode/Android Studio, then run the app directly from the IDE. Overall, this is a more consistent way, so if you're having troubles running the app from terminal, try running it from the IDE.
|
|
13
13
|
|
|
14
14
|
## Additional examples
|
|
15
15
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@regulaforensics/document-reader": "9.7.
|
|
9
|
+
"@regulaforensics/document-reader": "9.7.919-rc",
|
|
10
10
|
"@regulaforensics/document-reader-core-fullauthrfid": "9.6.2444",
|
|
11
11
|
"@regulaforensics/document-reader-btdevice": "9.6.55",
|
|
12
12
|
"@awesome-cordova-plugins/file": "^8.1.0",
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
|
-
if [[
|
|
4
|
+
if [[ $npm_config_o || $npm_config_open ]]; then
|
|
5
5
|
ionic cap sync android
|
|
6
6
|
open -a 'Android Studio' android
|
|
7
7
|
else
|
|
8
8
|
ionic cap run android
|
|
9
9
|
fi
|
|
10
|
-
|
|
11
|
-
exit 0
|
package/examples/ionic/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* IOS: `npm run ios`.
|
|
10
10
|
* Android: `npm run android`.
|
|
11
11
|
|
|
12
|
-
**Note**: this is just one way of running the app. You can also pass
|
|
12
|
+
**Note**: this is just one way of running the app. You can also pass `-o` or `--open` argument to the command, and this will open Xcode/Android Studio, then run the app directly from the IDE. Overall, this is a more consistent way, so if you're having troubles running the app from terminal, try running it from the IDE.
|
|
13
13
|
|
|
14
14
|
## Additional examples
|
|
15
15
|
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
<resource-file src="assets/db.dat" target="app/src/main/assets/Regula/db.dat" />
|
|
8
8
|
<preference name="orientation" value="portrait" />
|
|
9
9
|
<preference name="AndroidEdgeToEdge" value="true" />
|
|
10
|
+
<preference name="android-minSdkVersion" value="24" />
|
|
11
|
+
<preference name="android-targetSdkVersion" value="36" />
|
|
10
12
|
<preference name="GradlePluginKotlinEnabled" value="true" />
|
|
11
13
|
<config-file parent="/*" target="AndroidManifest.xml">
|
|
12
14
|
<uses-permission android:name="android.permission.NFC" />
|
|
Binary file
|
package/examples/ionic/index.tsx
CHANGED
|
@@ -12,7 +12,7 @@ import { main } from './src/main'
|
|
|
12
12
|
|
|
13
13
|
export async function loadAsset(path: string): Promise<string> {
|
|
14
14
|
var dir = await File.resolveDirectoryUrl(File.applicationDirectory + "www/assets")
|
|
15
|
-
var fileEntry = await File.getFile(dir, path,
|
|
15
|
+
var fileEntry = await File.getFile(dir, path, null)
|
|
16
16
|
var result = await new Promise<string>((resolve, _) => {
|
|
17
17
|
fileEntry.file(file => {
|
|
18
18
|
var reader = new FileReader()
|