@regulaforensics/idv 3.2.70 → 3.4.84-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.
Files changed (31) hide show
  1. package/README.md +1 -1
  2. package/RNIDV.podspec +3 -3
  3. package/android/{CVDIDV.kt → CDVIDV.kt} +1 -1
  4. package/android/build.gradle +1 -1
  5. package/android/cordova.gradle +1 -1
  6. package/examples/capacitor/android/app/build.gradle +2 -2
  7. package/examples/capacitor/android/app/capacitor.build.gradle +1 -4
  8. package/examples/capacitor/android/app/src/main/AndroidManifest.xml +1 -1
  9. package/examples/capacitor/android/build.gradle +3 -3
  10. package/examples/capacitor/android/capacitor.settings.gradle +0 -6
  11. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  12. package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  13. package/examples/capacitor/android/gradlew +4 -5
  14. package/examples/capacitor/android/gradlew.bat +2 -2
  15. package/examples/capacitor/android/variables.gradle +10 -10
  16. package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +4 -4
  17. package/examples/capacitor/ios/App/Podfile +3 -1
  18. package/examples/capacitor/ios/App/Podfile.lock +52 -0
  19. package/examples/capacitor/package-lock.json +703 -784
  20. package/examples/capacitor/package.json +17 -17
  21. package/examples/ionic/images/icon.png +0 -0
  22. package/examples/ionic/package-lock.json +2154 -2201
  23. package/examples/ionic/package.json +24 -22
  24. package/examples/ionic/patches/cordova-plugin-ionic-webview+5.0.1.patch +23 -0
  25. package/examples/ionic/scripts/ios.sh +1 -1
  26. package/examples/react_native/package-lock.json +988 -1764
  27. package/examples/react_native/package.json +7 -7
  28. package/ios/{CVDIDV.swift → CDVIDV.swift} +7 -7
  29. package/package.json +1 -1
  30. package/plugin.xml +6 -6
  31. package/test/package-lock.json +1 -1
package/README.md CHANGED
@@ -23,7 +23,7 @@ In the [examples](examples/) folder you can find 3 demo applications:
23
23
  Each demo app has its own readme file with instructions on building and installation.
24
24
 
25
25
  ## Documentation
26
- * [Documentation](https://docs.regulaforensics.com/develop/idv-sdk/mobile)
26
+ * [Documentation](https://docs.regulaforensics.com/develop/idv/integration/installation/mobile/javascript/)
27
27
  * [API Reference](https://dev.regulaforensics.com/npm-idv)
28
28
 
29
29
  ## Support
package/RNIDV.podspec CHANGED
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = 'RNIDV'
8
- s.version = '3.2.70'
8
+ s.version = '3.4.84-beta'
9
9
  s.summary = package['description']
10
10
  s.license = package['license']
11
11
 
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
15
15
  s.source = { http: "file:#{source}" }
16
16
  s.ios.deployment_target = '14.0'
17
17
  s.source_files = [ 'ios/**/*.swift', 'ios/**/RN*.m' ]
18
- s.exclude_files = [ 'ios/CVDIDV.swift' ]
19
- s.dependency 'IDVSDK', '3.2.1670'
18
+ s.exclude_files = [ 'ios/CDVIDV.swift' ]
19
+ s.dependency 'IDVSDK', '3.3.1715'
20
20
  s.dependency 'React'
21
21
  end
@@ -32,7 +32,7 @@ fun <T> argsNullable(index: Int): T? = if (args.get(index).toString() != "null")
32
32
  args.get(index) as T
33
33
  } else null
34
34
 
35
- class CVDIDV : CordovaPlugin() {
35
+ class CDVIDV : CordovaPlugin() {
36
36
  init {
37
37
  binding = this
38
38
  }
@@ -25,7 +25,7 @@ rootProject.allprojects {
25
25
 
26
26
  dependencies {
27
27
  implementation 'com.facebook.react:react-native:+'
28
- implementation('com.regula.idv:api:3.2.101') {
28
+ implementation('com.regula.idv:api:3.3.120') {
29
29
  transitive = true
30
30
  }
31
31
  }
@@ -14,7 +14,7 @@ repositories {
14
14
  }
15
15
 
16
16
  dependencies {
17
- implementation('com.regula.idv:api:3.2.101') {
17
+ implementation('com.regula.idv:api:3.3.120') {
18
18
  transitive = true
19
19
  }
20
20
  }
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.application'
2
2
 
3
3
  android {
4
- namespace "com.regula.example.idv.capacitor"
4
+ namespace = "com.regula.example.idv.capacitor"
5
5
  compileSdkVersion rootProject.ext.compileSdkVersion
6
6
  defaultConfig {
7
7
  applicationId "com.regula.example.idv.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,8 @@ 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
- implementation "androidx.webkit:webkit:1.4.0"
14
+
18
15
  }
19
16
 
20
17
  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.8.0'
11
- classpath 'com.google.gms:google-services:4.4.2'
12
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.20"
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')
@@ -1,6 +1,6 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
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=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
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, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
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
- org.gradle.wrapper.GradleWrapperMain \
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=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
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%" org.gradle.wrapper.GradleWrapperMain %*
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.9.2'
6
- androidxAppCompatVersion = '1.7.0'
7
- androidxCoordinatorLayoutVersion = '1.2.0'
8
- androidxCoreVersion = '1.15.0'
9
- androidxFragmentVersion = '1.8.4'
10
- coreSplashScreenVersion = '1.0.1'
11
- androidxWebkitVersion = '1.12.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.2.1'
14
- androidxEspressoCoreVersion = '3.6.1'
15
- cordovaAndroidVersion = '14.0.0'
13
+ androidxJunitVersion = '1.3.0'
14
+ androidxEspressoCoreVersion = '3.7.0'
15
+ cordovaAndroidVersion = '14.0.1'
16
16
  }
@@ -291,7 +291,7 @@
291
291
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
292
292
  GCC_WARN_UNUSED_FUNCTION = YES;
293
293
  GCC_WARN_UNUSED_VARIABLE = YES;
294
- IPHONEOS_DEPLOYMENT_TARGET = 14.0;
294
+ IPHONEOS_DEPLOYMENT_TARGET = 15.0;
295
295
  MTL_ENABLE_DEBUG_INFO = YES;
296
296
  ONLY_ACTIVE_ARCH = YES;
297
297
  SDKROOT = iphoneos;
@@ -342,7 +342,7 @@
342
342
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
343
343
  GCC_WARN_UNUSED_FUNCTION = YES;
344
344
  GCC_WARN_UNUSED_VARIABLE = YES;
345
- IPHONEOS_DEPLOYMENT_TARGET = 14.0;
345
+ IPHONEOS_DEPLOYMENT_TARGET = 15.0;
346
346
  MTL_ENABLE_DEBUG_INFO = NO;
347
347
  SDKROOT = iphoneos;
348
348
  SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -359,7 +359,7 @@
359
359
  CODE_SIGN_STYLE = Automatic;
360
360
  CURRENT_PROJECT_VERSION = 1;
361
361
  INFOPLIST_FILE = App/Info.plist;
362
- IPHONEOS_DEPLOYMENT_TARGET = 15.6;
362
+ IPHONEOS_DEPLOYMENT_TARGET = 15.0;
363
363
  LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
364
364
  MARKETING_VERSION = 1.0;
365
365
  OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
@@ -380,7 +380,7 @@
380
380
  CODE_SIGN_STYLE = Automatic;
381
381
  CURRENT_PROJECT_VERSION = 1;
382
382
  INFOPLIST_FILE = App/Info.plist;
383
- IPHONEOS_DEPLOYMENT_TARGET = 15.6;
383
+ IPHONEOS_DEPLOYMENT_TARGET = 15.0;
384
384
  LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
385
385
  MARKETING_VERSION = 1.0;
386
386
  PRODUCT_BUNDLE_IDENTIFIER = com.regula.example.idv.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, '14.0'
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,8 @@ 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'
17
19
  end
18
20
 
19
21
  target 'App' do
@@ -0,0 +1,52 @@
1
+ PODS:
2
+ - Capacitor (8.0.2):
3
+ - CapacitorCordova
4
+ - CapacitorApp (8.0.0):
5
+ - Capacitor
6
+ - CapacitorCordova (8.0.2)
7
+ - CapacitorStatusBar (8.0.0):
8
+ - Capacitor
9
+ - CordovaPlugins (8.0.2):
10
+ - CapacitorCordova
11
+
12
+ DEPENDENCIES:
13
+ - "Capacitor (from `../../node_modules/@capacitor/ios`)"
14
+ - "CapacitorApp (from `../../node_modules/@capacitor/app`)"
15
+ - "CapacitorCordova (from `../../node_modules/@capacitor/ios`)"
16
+ - "CapacitorStatusBar (from `../../node_modules/@capacitor/status-bar`)"
17
+ - CordovaPlugins (from `../capacitor-cordova-ios-plugins`)
18
+
19
+ SPEC REPOS:
20
+ https://github.com/CocoaPods/Specs.git:
21
+ - DocumentReader
22
+ - DocumentReaderFullAuthRFID
23
+ - FaceCoreBasic
24
+ - FaceSDK
25
+ - IDVDocumentReader
26
+ - IDVFaceSDK
27
+ - IDVModule
28
+ - IDVSDK
29
+ - RegulaCommon
30
+
31
+ EXTERNAL SOURCES:
32
+ Capacitor:
33
+ :path: "../../node_modules/@capacitor/ios"
34
+ CapacitorApp:
35
+ :path: "../../node_modules/@capacitor/app"
36
+ CapacitorCordova:
37
+ :path: "../../node_modules/@capacitor/ios"
38
+ CapacitorStatusBar:
39
+ :path: "../../node_modules/@capacitor/status-bar"
40
+ CordovaPlugins:
41
+ :path: "../capacitor-cordova-ios-plugins"
42
+
43
+ SPEC CHECKSUMS:
44
+ Capacitor: 2b79172ad27f3be2d103cce88b8eb9803fdcc744
45
+ CapacitorApp: 3963a84197280757b84f126afd1520a85ae3b092
46
+ CapacitorCordova: 921bdb690ebe82421b24fce45552fd3dea2ae43a
47
+ CapacitorStatusBar: 312e2e67928dfe9514c4a8916a1fd610552f5f35
48
+ CordovaPlugins: 7f5a9e789a8a2a94e03ada0b30c39133218f5f2a
49
+
50
+ PODFILE CHECKSUM: 37237f8392a5e6d203bec0893d4e0d5eab43f1ce
51
+
52
+ COCOAPODS: 1.16.2