@regulaforensics/document-reader 9.7.888-nightly → 9.7.915-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.
@@ -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.888-nightly'
8
+ s.version = '9.7.915-nightly'
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 'DocumentReaderNightly', '9.7.6639'
19
+ s.dependency 'DocumentReaderNightly', '9.7.6667'
20
20
  s.dependency 'React'
21
21
  end
@@ -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.13082'){
32
+ implementation('com.regula.documentreader:api:9.7.13095'){
33
33
  transitive = true
34
34
  }
35
35
  }
@@ -6,7 +6,7 @@ repositories {
6
6
 
7
7
  dependencies {
8
8
  //noinspection GradleDependency
9
- implementation('com.regula.documentreader:api:9.7.13082'){
9
+ implementation('com.regula.documentreader:api:9.7.13095'){
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 `-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.
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.888-nightly",
9
+ "@regulaforensics/document-reader": "9.7.915-nightly",
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,9 +1,11 @@
1
1
  #!/usr/bin/env bash
2
2
  set -e
3
3
 
4
- if [[ $npm_config_o || $npm_config_open ]]; then
4
+ if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; 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
@@ -1,8 +1,10 @@
1
1
  #!/usr/bin/env bash
2
2
  set -e
3
3
 
4
- if [[ $npm_config_o || $npm_config_open ]]; then
4
+ if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; then
5
5
  ionic cap run ios --open
6
6
  else
7
7
  ionic cap run ios
8
8
  fi
9
+
10
+ exit 0
@@ -10,3 +10,5 @@ ionic cap sync ios || {
10
10
 
11
11
  cp public/assets/db.dat ios/App/App/
12
12
  cp public/assets/db.dat android/app/src/main/assets/Regula/
13
+
14
+ exit 0
@@ -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 `-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.
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,8 +7,6 @@
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" />
12
10
  <preference name="GradlePluginKotlinEnabled" value="true" />
13
11
  <config-file parent="/*" target="AndroidManifest.xml">
14
12
  <uses-permission android:name="android.permission.NFC" />
Binary file
@@ -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, null)
15
+ var fileEntry = await File.getFile(dir, path, {})
16
16
  var result = await new Promise<string>((resolve, _) => {
17
17
  fileEntry.file(file => {
18
18
  var reader = new FileReader()