@regulaforensics/idv 3.2.25-beta → 3.2.59-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 (59) hide show
  1. package/README.md +2 -8
  2. package/RNIDV.podspec +2 -2
  3. package/android/build.gradle +1 -10
  4. package/android/cordova.gradle +1 -1
  5. package/examples/capacitor/android/build.gradle +1 -1
  6. package/examples/capacitor/package-lock.json +3350 -0
  7. package/examples/capacitor/package.json +7 -7
  8. package/examples/capacitor/src/main.html +8 -29
  9. package/examples/capacitor/src/main.tsx +115 -1
  10. package/examples/ionic/README.md +2 -2
  11. package/examples/ionic/config.xml +1 -0
  12. package/examples/ionic/package-lock.json +14261 -0
  13. package/examples/ionic/package.json +10 -10
  14. package/examples/ionic/src/main.html +8 -29
  15. package/examples/ionic/src/main.tsx +115 -1
  16. package/examples/react_native/README.md +2 -2
  17. package/examples/react_native/package-lock.json +8996 -0
  18. package/examples/react_native/package.json +7 -7
  19. package/examples/react_native/scripts/setup.sh +3 -0
  20. package/examples/react_native/src/main.html +8 -29
  21. package/examples/react_native/src/main.tsx +115 -1
  22. package/ios/CVDIDV.swift +6 -50
  23. package/ios/RNIDV.swift +4 -52
  24. package/package.json +1 -1
  25. package/plugin.xml +5 -4
  26. package/test/json.tsx +40 -0
  27. package/test/package-lock.json +1 -1
  28. package/test/test.tsx +12 -2
  29. package/www/capacitor/config/api_key_connection_config.js +32 -0
  30. package/www/capacitor/config/credentials_connection_config.js +32 -0
  31. package/www/capacitor/config/prepare_workflow_config.js +20 -0
  32. package/www/capacitor/config/start_workflow_config.js +24 -0
  33. package/www/capacitor/config/token_connection_config.js +20 -0
  34. package/www/capacitor/index.js +105 -1
  35. package/www/capacitor/internal/bridge.js +19 -8
  36. package/www/capacitor/model/workflow.js +28 -0
  37. package/www/capacitor/model/workflow_result.js +21 -0
  38. package/www/capacitor/model/workflow_step.js +19 -0
  39. package/www/cordova.js +455 -10
  40. package/www/react-native/config/api_key_connection_config.js +32 -0
  41. package/www/react-native/config/credentials_connection_config.js +32 -0
  42. package/www/react-native/config/prepare_workflow_config.js +20 -0
  43. package/www/react-native/config/start_workflow_config.js +24 -0
  44. package/www/react-native/config/token_connection_config.js +20 -0
  45. package/www/react-native/index.js +105 -1
  46. package/www/react-native/internal/bridge.js +19 -8
  47. package/www/react-native/model/workflow.js +28 -0
  48. package/www/react-native/model/workflow_result.js +21 -0
  49. package/www/react-native/model/workflow_step.js +19 -0
  50. package/www/types/config/api_key_connection_config.d.ts +6 -0
  51. package/www/types/config/credentials_connection_config.d.ts +6 -0
  52. package/www/types/config/prepare_workflow_config.d.ts +3 -0
  53. package/www/types/config/start_workflow_config.d.ts +4 -0
  54. package/www/types/config/token_connection_config.d.ts +3 -0
  55. package/www/types/index.d.ts +50 -0
  56. package/www/types/model/workflow.d.ts +9 -0
  57. package/www/types/model/workflow_result.d.ts +8 -0
  58. package/www/types/model/workflow_step.d.ts +6 -0
  59. package/ios/FlutterIDVPlugin.swift +0 -72
package/README.md CHANGED
@@ -3,16 +3,10 @@ IDV is a framework that unifies access to all Regula products. This plugin makes
3
3
 
4
4
  ## Android Integration
5
5
 
6
+ This step is only needed for ***React Native***
6
7
 
7
- TODO check this
8
-
9
-
10
- In order to use this plugin, in `android/app/build.gradle` add `kotlin-kapt` plugin and enable `dataBinding`:
8
+ In order to use this plugin, in `android/app/build.gradle` enable `dataBinding`:
11
9
  ```
12
- plugins {
13
- id "kotlin-kapt"
14
- }
15
-
16
10
  android {
17
11
  buildFeatures {
18
12
  dataBinding true
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.25-beta'
8
+ s.version = '3.2.59-beta'
9
9
  s.summary = package['description']
10
10
  s.license = package['license']
11
11
 
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
14
14
 
15
15
  s.source = { http: "file:#{source}" }
16
16
  s.ios.deployment_target = '14.0'
17
- s.source_files = 'ios/**/*.{h,m}'
17
+ s.source_files = 'ios/**/*.swift'
18
18
  s.exclude_files = [ 'ios/CVDIDV.swift' ]
19
19
  s.dependency 'IDVSDK', '3.1.1492'
20
20
  s.dependency 'React'
@@ -3,18 +3,11 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'kotlin-kapt'
4
4
 
5
5
  android {
6
- // Conditional for compatibility with AGP <4.2.
7
- if (project.android.hasProperty("namespace")) {
8
- namespace 'com.regula.plugin.idv'
9
- }
10
-
6
+ namespace 'com.regula.plugin.idv'
11
7
  compileSdk 36
12
8
 
13
9
  defaultConfig {
14
10
  minSdkVersion 24
15
- targetSdk 36
16
- versionCode 1
17
- versionName "1.0"
18
11
  }
19
12
 
20
13
  buildFeatures {
@@ -31,9 +24,7 @@ rootProject.allprojects {
31
24
  }
32
25
 
33
26
  dependencies {
34
- //noinspection GradleDynamicVersion
35
27
  implementation 'com.facebook.react:react-native:+'
36
- //noinspection GradleDependency
37
28
  implementation('com.regula.idv:api:3.1.90') {
38
29
  transitive = true
39
30
  }
@@ -1,3 +1,4 @@
1
+ apply plugin: 'kotlin-android'
1
2
  apply plugin: 'kotlin-kapt'
2
3
 
3
4
  android {
@@ -13,7 +14,6 @@ repositories {
13
14
  }
14
15
 
15
16
  dependencies {
16
- //noinspection GradleDependency
17
17
  implementation('com.regula.idv:api:3.1.90') {
18
18
  transitive = true
19
19
  }
@@ -9,7 +9,7 @@ buildscript {
9
9
  dependencies {
10
10
  classpath 'com.android.tools.build:gradle:8.8.0'
11
11
  classpath 'com.google.gms:google-services:4.4.2'
12
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25"
12
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.20"
13
13
 
14
14
  // NOTE: Do not place your application dependencies here; they belong
15
15
  // in the individual module build.gradle files