@regulaforensics/document-reader 9.2.558-beta → 9.2.560-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/RNDocumentReader.podspec +1 -1
- package/examples/capacitor/android/app/build.gradle +2 -2
- package/examples/capacitor/android/app/capacitor.build.gradle +1 -3
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +1 -1
- package/examples/capacitor/android/build.gradle +3 -3
- package/examples/capacitor/android/capacitor.settings.gradle +0 -6
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/examples/capacitor/android/gradlew +4 -5
- package/examples/capacitor/android/gradlew.bat +2 -2
- package/examples/capacitor/android/variables.gradle +10 -10
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +20 -4
- package/examples/capacitor/ios/App/Podfile +4 -1
- package/examples/capacitor/ios/App/Podfile.lock +16 -16
- package/examples/capacitor/package.json +1 -1
- package/examples/ionic/package.json +1 -1
- package/examples/react_native/package.json +1 -1
- package/package.json +1 -1
- package/plugin.xml +1 -1
- package/test/package-lock.json +1 -1
package/RNDocumentReader.podspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.application'
|
|
2
2
|
|
|
3
3
|
android {
|
|
4
|
-
namespace "com.regula.example.dr.capacitor"
|
|
4
|
+
namespace = "com.regula.example.dr.capacitor"
|
|
5
5
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
6
6
|
defaultConfig {
|
|
7
7
|
applicationId "com.regula.example.dr.capacitor"
|
|
@@ -12,7 +12,7 @@ android {
|
|
|
12
12
|
aaptOptions {
|
|
13
13
|
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
|
14
14
|
// Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61
|
|
15
|
-
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
|
|
15
|
+
ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
buildTypes {
|
|
@@ -10,11 +10,9 @@ android {
|
|
|
10
10
|
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
|
|
11
11
|
dependencies {
|
|
12
12
|
implementation project(':capacitor-app')
|
|
13
|
-
implementation project(':capacitor-haptics')
|
|
14
|
-
implementation project(':capacitor-keyboard')
|
|
15
13
|
implementation project(':capacitor-status-bar')
|
|
16
|
-
implementation "androidx.core:core:1.6.+"
|
|
17
14
|
implementation "androidx.webkit:webkit:1.4.0"
|
|
15
|
+
implementation "androidx.core:core:1.6.+"
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
if (hasProperty('postBuildExtras')) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
android:usesCleartextTraffic="true">
|
|
10
10
|
<activity
|
|
11
11
|
android:name=".MainActivity"
|
|
12
|
-
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode|navigation"
|
|
12
|
+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode|navigation|density"
|
|
13
13
|
android:exported="true"
|
|
14
14
|
android:launchMode="singleTask"
|
|
15
15
|
android:screenOrientation="portrait"
|
|
@@ -7,9 +7,9 @@ buildscript {
|
|
|
7
7
|
mavenCentral()
|
|
8
8
|
}
|
|
9
9
|
dependencies {
|
|
10
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
11
|
-
classpath 'com.google.gms:google-services:4.4.
|
|
12
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:
|
|
10
|
+
classpath 'com.android.tools.build:gradle:8.13.0'
|
|
11
|
+
classpath 'com.google.gms:google-services:4.4.4'
|
|
12
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.20"
|
|
13
13
|
|
|
14
14
|
// NOTE: Do not place your application dependencies here; they belong
|
|
15
15
|
// in the individual module build.gradle files
|
|
@@ -5,11 +5,5 @@ project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/
|
|
|
5
5
|
include ':capacitor-app'
|
|
6
6
|
project(':capacitor-app').projectDir = new File('../node_modules/@capacitor/app/android')
|
|
7
7
|
|
|
8
|
-
include ':capacitor-haptics'
|
|
9
|
-
project(':capacitor-haptics').projectDir = new File('../node_modules/@capacitor/haptics/android')
|
|
10
|
-
|
|
11
|
-
include ':capacitor-keyboard'
|
|
12
|
-
project(':capacitor-keyboard').projectDir = new File('../node_modules/@capacitor/keyboard/android')
|
|
13
|
-
|
|
14
8
|
include ':capacitor-status-bar'
|
|
15
9
|
project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android')
|
|
Binary file
|
|
@@ -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.14.3-all.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
@@ -86,8 +86,7 @@ done
|
|
|
86
86
|
# shellcheck disable=SC2034
|
|
87
87
|
APP_BASE_NAME=${0##*/}
|
|
88
88
|
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
|
89
|
-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
|
|
90
|
-
' "$PWD" ) || exit
|
|
89
|
+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
|
|
91
90
|
|
|
92
91
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
93
92
|
MAX_FD=maximum
|
|
@@ -115,7 +114,7 @@ case "$( uname )" in #(
|
|
|
115
114
|
NONSTOP* ) nonstop=true ;;
|
|
116
115
|
esac
|
|
117
116
|
|
|
118
|
-
CLASSPATH
|
|
117
|
+
CLASSPATH="\\\"\\\""
|
|
119
118
|
|
|
120
119
|
|
|
121
120
|
# Determine the Java command to use to start the JVM.
|
|
@@ -206,7 +205,7 @@ fi
|
|
|
206
205
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
207
206
|
|
|
208
207
|
# Collect all arguments for the java command:
|
|
209
|
-
# * DEFAULT_JVM_OPTS, JAVA_OPTS,
|
|
208
|
+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
|
210
209
|
# and any embedded shellness will be escaped.
|
|
211
210
|
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
|
212
211
|
# treated as '${Hostname}' itself on the command line.
|
|
@@ -214,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
|
214
213
|
set -- \
|
|
215
214
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
|
216
215
|
-classpath "$CLASSPATH" \
|
|
217
|
-
|
|
216
|
+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
|
|
218
217
|
"$@"
|
|
219
218
|
|
|
220
219
|
# Stop when "xargs" is not available.
|
|
@@ -70,11 +70,11 @@ goto fail
|
|
|
70
70
|
:execute
|
|
71
71
|
@rem Setup the command line
|
|
72
72
|
|
|
73
|
-
set CLASSPATH
|
|
73
|
+
set CLASSPATH=
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
@rem Execute Gradle
|
|
77
|
-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%"
|
|
77
|
+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
|
78
78
|
|
|
79
79
|
:end
|
|
80
80
|
@rem End local scope for the variables with windows NT shell
|
|
@@ -2,15 +2,15 @@ ext {
|
|
|
2
2
|
minSdkVersion = 26
|
|
3
3
|
compileSdkVersion = 36
|
|
4
4
|
targetSdkVersion = 36
|
|
5
|
-
androidxActivityVersion = '1.
|
|
6
|
-
androidxAppCompatVersion = '1.7.
|
|
7
|
-
androidxCoordinatorLayoutVersion = '1.
|
|
8
|
-
androidxCoreVersion = '1.
|
|
9
|
-
androidxFragmentVersion = '1.8.
|
|
10
|
-
coreSplashScreenVersion = '1.0
|
|
11
|
-
androidxWebkitVersion = '1.
|
|
5
|
+
androidxActivityVersion = '1.11.0'
|
|
6
|
+
androidxAppCompatVersion = '1.7.1'
|
|
7
|
+
androidxCoordinatorLayoutVersion = '1.3.0'
|
|
8
|
+
androidxCoreVersion = '1.17.0'
|
|
9
|
+
androidxFragmentVersion = '1.8.9'
|
|
10
|
+
coreSplashScreenVersion = '1.2.0'
|
|
11
|
+
androidxWebkitVersion = '1.14.0'
|
|
12
12
|
junitVersion = '4.13.2'
|
|
13
|
-
androidxJunitVersion = '1.
|
|
14
|
-
androidxEspressoCoreVersion = '3.
|
|
15
|
-
cordovaAndroidVersion = '14.0.
|
|
13
|
+
androidxJunitVersion = '1.3.0'
|
|
14
|
+
androidxEspressoCoreVersion = '3.7.0'
|
|
15
|
+
cordovaAndroidVersion = '14.0.1'
|
|
16
16
|
}
|
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
504EC3011FED79650016851F /* Frameworks */,
|
|
112
112
|
504EC3021FED79650016851F /* Resources */,
|
|
113
113
|
9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */,
|
|
114
|
+
2D88F7C878728A28B89ACF35 /* [CP] Copy Pods Resources */,
|
|
114
115
|
);
|
|
115
116
|
buildRules = (
|
|
116
117
|
);
|
|
@@ -173,6 +174,21 @@
|
|
|
173
174
|
/* End PBXResourcesBuildPhase section */
|
|
174
175
|
|
|
175
176
|
/* Begin PBXShellScriptBuildPhase section */
|
|
177
|
+
2D88F7C878728A28B89ACF35 /* [CP] Copy Pods Resources */ = {
|
|
178
|
+
isa = PBXShellScriptBuildPhase;
|
|
179
|
+
buildActionMask = 2147483647;
|
|
180
|
+
files = (
|
|
181
|
+
);
|
|
182
|
+
inputPaths = (
|
|
183
|
+
);
|
|
184
|
+
name = "[CP] Copy Pods Resources";
|
|
185
|
+
outputPaths = (
|
|
186
|
+
);
|
|
187
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
188
|
+
shellPath = /bin/sh;
|
|
189
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-resources.sh\"\n";
|
|
190
|
+
showEnvVarsInLog = 0;
|
|
191
|
+
};
|
|
176
192
|
6634F4EFEBD30273BCE97C65 /* [CP] Check Pods Manifest.lock */ = {
|
|
177
193
|
isa = PBXShellScriptBuildPhase;
|
|
178
194
|
buildActionMask = 2147483647;
|
|
@@ -287,7 +303,7 @@
|
|
|
287
303
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
288
304
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
289
305
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
290
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
306
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
|
291
307
|
MTL_ENABLE_DEBUG_INFO = YES;
|
|
292
308
|
ONLY_ACTIVE_ARCH = YES;
|
|
293
309
|
SDKROOT = iphoneos;
|
|
@@ -338,7 +354,7 @@
|
|
|
338
354
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
339
355
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
340
356
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
341
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
357
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
|
342
358
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
343
359
|
SDKROOT = iphoneos;
|
|
344
360
|
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
|
@@ -355,7 +371,7 @@
|
|
|
355
371
|
CODE_SIGN_STYLE = Automatic;
|
|
356
372
|
CURRENT_PROJECT_VERSION = 1;
|
|
357
373
|
INFOPLIST_FILE = App/Info.plist;
|
|
358
|
-
IPHONEOS_DEPLOYMENT_TARGET = 15.
|
|
374
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
|
359
375
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
360
376
|
MARKETING_VERSION = 1.0;
|
|
361
377
|
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
|
|
@@ -376,7 +392,7 @@
|
|
|
376
392
|
CODE_SIGN_STYLE = Automatic;
|
|
377
393
|
CURRENT_PROJECT_VERSION = 1;
|
|
378
394
|
INFOPLIST_FILE = App/Info.plist;
|
|
379
|
-
IPHONEOS_DEPLOYMENT_TARGET = 15.
|
|
395
|
+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
|
380
396
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
381
397
|
MARKETING_VERSION = 1.0;
|
|
382
398
|
PRODUCT_BUNDLE_IDENTIFIER = com.regula.example.dr.capacitor;
|
|
@@ -2,7 +2,7 @@ source "https://github.com/CocoaPods/Specs.git"
|
|
|
2
2
|
|
|
3
3
|
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
|
|
4
4
|
|
|
5
|
-
platform :ios, '
|
|
5
|
+
platform :ios, '15.0'
|
|
6
6
|
use_frameworks!
|
|
7
7
|
|
|
8
8
|
# workaround to avoid Xcode caching of Pods that requires
|
|
@@ -14,6 +14,9 @@ def capacitor_pods
|
|
|
14
14
|
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
|
|
15
15
|
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
|
|
16
16
|
pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
|
|
17
|
+
pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
|
|
18
|
+
pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
|
|
19
|
+
pod 'CordovaPluginsResources', :path => '../capacitor-cordova-ios-plugins'
|
|
17
20
|
end
|
|
18
21
|
|
|
19
22
|
target 'App' do
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
PODS:
|
|
2
|
-
- Capacitor (
|
|
2
|
+
- Capacitor (8.0.2):
|
|
3
3
|
- CapacitorCordova
|
|
4
|
-
- CapacitorApp (
|
|
4
|
+
- CapacitorApp (8.0.0):
|
|
5
5
|
- Capacitor
|
|
6
|
-
- CapacitorCordova (
|
|
7
|
-
- CapacitorStatusBar (
|
|
6
|
+
- CapacitorCordova (8.0.2)
|
|
7
|
+
- CapacitorStatusBar (8.0.0):
|
|
8
8
|
- Capacitor
|
|
9
|
-
- CordovaPlugins (
|
|
9
|
+
- CordovaPlugins (8.0.2):
|
|
10
10
|
- CapacitorCordova
|
|
11
11
|
- CordovaPluginsResources (0.0.105)
|
|
12
12
|
|
|
@@ -40,17 +40,17 @@ EXTERNAL SOURCES:
|
|
|
40
40
|
:path: "../capacitor-cordova-ios-plugins"
|
|
41
41
|
|
|
42
42
|
SPEC CHECKSUMS:
|
|
43
|
-
BTDevice:
|
|
44
|
-
Capacitor:
|
|
45
|
-
CapacitorApp:
|
|
46
|
-
CapacitorCordova:
|
|
47
|
-
CapacitorStatusBar:
|
|
48
|
-
CordovaPlugins:
|
|
49
|
-
CordovaPluginsResources:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
43
|
+
BTDevice: 26c385d7cc3be8767633e12d34a08133b54d637d
|
|
44
|
+
Capacitor: 2b79172ad27f3be2d103cce88b8eb9803fdcc744
|
|
45
|
+
CapacitorApp: 3963a84197280757b84f126afd1520a85ae3b092
|
|
46
|
+
CapacitorCordova: 921bdb690ebe82421b24fce45552fd3dea2ae43a
|
|
47
|
+
CapacitorStatusBar: 312e2e67928dfe9514c4a8916a1fd610552f5f35
|
|
48
|
+
CordovaPlugins: 6645e371cc289abe4e014b6bce96c8a9fe98a118
|
|
49
|
+
CordovaPluginsResources: da93847212bf7b16ba770e4d6c3e7dba820174c7
|
|
50
|
+
DocumentReaderFullAuthRFID: 400d1dc84190198da2f6845335998ce8a1b14914
|
|
51
|
+
DocumentReaderStage: 79104210cb3d9d4935682a389aa9d6614ebc1c93
|
|
52
|
+
RegulaCommonStage: 54fe5548efc9011b7161874d684e6f53debae77c
|
|
53
53
|
|
|
54
|
-
PODFILE CHECKSUM:
|
|
54
|
+
PODFILE CHECKSUM: e830351ff5b19d0ecdb0c269f8b5444acb151f00
|
|
55
55
|
|
|
56
56
|
COCOAPODS: 1.16.2
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@regulaforensics/document-reader": "9.2.
|
|
9
|
+
"@regulaforensics/document-reader": "9.2.560-beta",
|
|
10
10
|
"@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
|
|
11
11
|
"@regulaforensics/document-reader-btdevice": "9.1.35",
|
|
12
12
|
"@awesome-cordova-plugins/file": "^8.1.0",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@ionic/cordova-builders": "^12.3.0",
|
|
19
19
|
"@awesome-cordova-plugins/camera": "^8.1.0",
|
|
20
20
|
"@awesome-cordova-plugins/file": "^8.1.0",
|
|
21
|
-
"@regulaforensics/document-reader": "9.2.
|
|
21
|
+
"@regulaforensics/document-reader": "9.2.560-beta",
|
|
22
22
|
"@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
|
|
23
23
|
"@regulaforensics/document-reader-btdevice": "9.1.35",
|
|
24
24
|
"cordova-android": "^14.0.1",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"start": "expo start"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@regulaforensics/document-reader": "9.2.
|
|
11
|
+
"@regulaforensics/document-reader": "9.2.560-beta",
|
|
12
12
|
"@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
|
|
13
13
|
"@regulaforensics/document-reader-btdevice": "9.1.35",
|
|
14
14
|
"react-native": "^0.81.4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/document-reader",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.560-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.2.
|
|
2
|
+
<plugin id="@regulaforensics/document-reader" version="9.2.560-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>
|