@regulaforensics/idv 3.10.225-rc → 3.10.230-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 (78) hide show
  1. package/Package.swift +27 -0
  2. package/README.md +3 -0
  3. package/android/CDVIDV.kt +5 -3
  4. package/android/build.gradle.kts +41 -0
  5. package/android/cordova.gradle.kts +20 -0
  6. package/android/src/main/{java → kotlin}/com/regula/plugin/idv/RNIDVModule.kt +3 -2
  7. package/app.plugin.js +10 -7
  8. package/examples/capacitor/README.md +2 -0
  9. package/examples/capacitor/android/app/build.gradle +2 -10
  10. package/examples/capacitor/android/build.gradle +12 -3
  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/gradle.properties +4 -0
  14. package/examples/capacitor/android/gradlew +4 -7
  15. package/examples/capacitor/android/gradlew.bat +82 -94
  16. package/examples/capacitor/android/variables.gradle +13 -9
  17. package/examples/capacitor/capacitor.config.json +15 -0
  18. package/examples/capacitor/index.tsx +2 -7
  19. package/examples/capacitor/ios/App/App/AppDelegate.swift +5 -40
  20. package/examples/capacitor/ios/App/App/Info.plist +18 -2
  21. package/examples/capacitor/ios/App/App/SceneDelegate.swift +23 -0
  22. package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +25 -69
  23. package/examples/capacitor/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift +1 -0
  24. package/examples/capacitor/package.json +16 -18
  25. package/examples/capacitor/scripts/android.sh +5 -8
  26. package/examples/capacitor/scripts/ios.sh +5 -7
  27. package/examples/capacitor/scripts/setup.sh +2 -7
  28. package/examples/capacitor/src/main.css +5 -1
  29. package/examples/capacitor/src/main.tsx +1 -1
  30. package/examples/capacitor/vite.config.ts +0 -12
  31. package/examples/ionic/README.md +2 -0
  32. package/examples/ionic/config.xml +1 -1
  33. package/examples/ionic/index.tsx +8 -3
  34. package/examples/ionic/package.json +23 -27
  35. package/examples/ionic/scripts/android.sh +1 -3
  36. package/examples/ionic/scripts/ios.sh +0 -2
  37. package/examples/ionic/scripts/setup.sh +0 -2
  38. package/examples/ionic/src/main.tsx +1 -1
  39. package/examples/ionic/tsconfig.json +0 -1
  40. package/examples/react_native/README.md +2 -0
  41. package/examples/react_native/package.json +19 -19
  42. package/examples/react_native/scripts/android.sh +6 -6
  43. package/examples/react_native/scripts/ios.sh +5 -5
  44. package/examples/react_native/scripts/setup.sh +3 -3
  45. package/examples/react_native/src/main.tsx +1 -1
  46. package/ios/CDVIDV.swift +23 -6
  47. package/ios/{Main.swift → Implementation.swift} +4 -4
  48. package/ios/RNIDV.swift +9 -3
  49. package/ios/Utils.swift +2 -0
  50. package/package.json +1 -1
  51. package/plugin.xml +10 -10
  52. package/react-native-idv.podspec +14 -0
  53. package/test/package-lock.json +1 -1
  54. package/test/test.tsx +26 -2
  55. package/www/capacitor/index.js +21 -3
  56. package/www/capacitor/internal/bridge.js +2 -1
  57. package/www/capacitor/internal/cordova.js +2 -2
  58. package/www/cordova.js +4 -4
  59. package/www/react-native/index.js +21 -3
  60. package/www/react-native/internal/bridge.js +2 -1
  61. package/www/types/index.d.ts +13 -2
  62. package/RNIDV.podspec +0 -21
  63. package/android/build.gradle +0 -32
  64. package/android/cordova.gradle +0 -20
  65. package/examples/capacitor/android/app/capacitor.build.gradle +0 -19
  66. package/examples/capacitor/android/capacitor.settings.gradle +0 -9
  67. package/examples/capacitor/ionic.config.json +0 -7
  68. package/examples/capacitor/ios/App/App/Base.lproj/Main.storyboard +0 -19
  69. package/examples/capacitor/ios/App/App.xcworkspace/contents.xcworkspacedata +0 -10
  70. package/examples/capacitor/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  71. package/examples/capacitor/ios/App/Podfile +0 -29
  72. package/examples/capacitor/ios/App/Podfile.lock +0 -52
  73. package/examples/capacitor/package-lock.json +0 -3063
  74. package/examples/ionic/package-lock.json +0 -16573
  75. package/examples/react_native/package-lock.json +0 -6444
  76. /package/android/src/main/{java/com/regula/plugin/idv/Main.kt → kotlin/com/regula/plugin/idv/Implementation.kt} +0 -0
  77. /package/android/src/main/{java → kotlin}/com/regula/plugin/idv/JSONConstructor.kt +0 -0
  78. /package/android/src/main/{java → kotlin}/com/regula/plugin/idv/Utils.kt +0 -0
@@ -0,0 +1,23 @@
1
+ import UIKit
2
+ import Capacitor
3
+
4
+ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
5
+ var window: UIWindow?
6
+
7
+ func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
8
+ guard let windowScene = scene as? UIWindowScene else { return }
9
+ window = UIWindow(windowScene: windowScene)
10
+ window?.rootViewController = CAPBridgeViewController()
11
+ window?.makeKeyAndVisible()
12
+
13
+ SceneDelegateProxy.shared.scene(scene, willConnectTo: session, options: connectionOptions)
14
+ }
15
+
16
+ func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
17
+ SceneDelegateProxy.shared.scene(scene, openURLContexts: URLContexts)
18
+ }
19
+
20
+ func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {
21
+ SceneDelegateProxy.shared.scene(scene, continue: userActivity)
22
+ }
23
+ }
@@ -3,38 +3,35 @@
3
3
  archiveVersion = 1;
4
4
  classes = {
5
5
  };
6
- objectVersion = 48;
6
+ objectVersion = 60;
7
7
  objects = {
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
+ 9582B6832FE993A70072D4E8 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9582B6822FE993A50072D4E8 /* SceneDelegate.swift */; };
11
+ 4D22ABE92AF431CB00220026 /* CapApp-SPM in Frameworks */ = {isa = PBXBuildFile; productRef = 4D22ABE82AF431CB00220026 /* CapApp-SPM */; };
10
12
  2FAD9763203C412B000D30F8 /* config.xml in Resources */ = {isa = PBXBuildFile; fileRef = 2FAD9762203C412B000D30F8 /* config.xml */; };
11
13
  50379B232058CBB4000EE86E /* capacitor.config.json in Resources */ = {isa = PBXBuildFile; fileRef = 50379B222058CBB4000EE86E /* capacitor.config.json */; };
12
14
  504EC3081FED79650016851F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 504EC3071FED79650016851F /* AppDelegate.swift */; };
13
- 504EC30D1FED79650016851F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30B1FED79650016851F /* Main.storyboard */; };
14
15
  504EC30F1FED79650016851F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30E1FED79650016851F /* Assets.xcassets */; };
15
16
  504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC3101FED79650016851F /* LaunchScreen.storyboard */; };
16
17
  50B271D11FEDC1A000F3C39B /* public in Resources */ = {isa = PBXBuildFile; fileRef = 50B271D01FEDC1A000F3C39B /* public */; };
17
- A084ECDBA7D38E1E42DFC39D /* Pods_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */; };
18
18
  C3C12F0D2DEDD3AA0068B75D /* db.dat in Resources */ = {isa = PBXBuildFile; fileRef = C3C12F0C2DEDD3AA0068B75D /* db.dat */; };
19
19
  C3D68A432E9FF39D006194D2 /* regula.license in Resources */ = {isa = PBXBuildFile; fileRef = C3D68A422E9FF39D006194D2 /* regula.license */; };
20
20
  /* End PBXBuildFile section */
21
21
 
22
22
  /* Begin PBXFileReference section */
23
+ 9582B6822FE993A50072D4E8 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
23
24
  2FAD9762203C412B000D30F8 /* config.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = config.xml; sourceTree = "<group>"; };
24
25
  34ADEF8A2B6C25C900B38C44 /* App.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = App.entitlements; sourceTree = "<group>"; };
25
26
  50379B222058CBB4000EE86E /* capacitor.config.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = capacitor.config.json; sourceTree = "<group>"; };
26
27
  504EC3041FED79650016851F /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; };
27
28
  504EC3071FED79650016851F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
28
- 504EC30C1FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
29
29
  504EC30E1FED79650016851F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
30
30
  504EC3111FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
31
31
  504EC3131FED79650016851F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
32
32
  50B271D01FEDC1A000F3C39B /* public */ = {isa = PBXFileReference; lastKnownFileType = folder; path = public; sourceTree = "<group>"; };
33
- AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_App.framework; sourceTree = BUILT_PRODUCTS_DIR; };
34
- AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = "<group>"; };
35
33
  C3C12F0C2DEDD3AA0068B75D /* db.dat */ = {isa = PBXFileReference; lastKnownFileType = file; path = db.dat; sourceTree = "<group>"; };
36
34
  C3D68A422E9FF39D006194D2 /* regula.license */ = {isa = PBXFileReference; lastKnownFileType = file; path = regula.license; sourceTree = "<group>"; };
37
- FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.debug.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.debug.xcconfig"; sourceTree = "<group>"; };
38
35
  /* End PBXFileReference section */
39
36
 
40
37
  /* Begin PBXFrameworksBuildPhase section */
@@ -42,7 +39,7 @@
42
39
  isa = PBXFrameworksBuildPhase;
43
40
  buildActionMask = 2147483647;
44
41
  files = (
45
- A084ECDBA7D38E1E42DFC39D /* Pods_App.framework in Frameworks */,
42
+ 4D22ABE92AF431CB00220026 /* CapApp-SPM in Frameworks */,
46
43
  );
47
44
  runOnlyForDeploymentPostprocessing = 0;
48
45
  };
@@ -52,7 +49,6 @@
52
49
  27E2DDA53C4D2A4D1A88CE4A /* Frameworks */ = {
53
50
  isa = PBXGroup;
54
51
  children = (
55
- AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */,
56
52
  );
57
53
  name = Frameworks;
58
54
  sourceTree = "<group>";
@@ -62,7 +58,6 @@
62
58
  children = (
63
59
  504EC3061FED79650016851F /* App */,
64
60
  504EC3051FED79650016851F /* Products */,
65
- 7F8756D8B27F46E3366F6CEA /* Pods */,
66
61
  27E2DDA53C4D2A4D1A88CE4A /* Frameworks */,
67
62
  );
68
63
  sourceTree = "<group>";
@@ -81,7 +76,7 @@
81
76
  34ADEF8A2B6C25C900B38C44 /* App.entitlements */,
82
77
  50379B222058CBB4000EE86E /* capacitor.config.json */,
83
78
  504EC3071FED79650016851F /* AppDelegate.swift */,
84
- 504EC30B1FED79650016851F /* Main.storyboard */,
79
+ 9582B6822FE993A50072D4E8 /* SceneDelegate.swift */,
85
80
  504EC30E1FED79650016851F /* Assets.xcassets */,
86
81
  504EC3101FED79650016851F /* LaunchScreen.storyboard */,
87
82
  504EC3131FED79650016851F /* Info.plist */,
@@ -93,15 +88,6 @@
93
88
  path = App;
94
89
  sourceTree = "<group>";
95
90
  };
96
- 7F8756D8B27F46E3366F6CEA /* Pods */ = {
97
- isa = PBXGroup;
98
- children = (
99
- FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */,
100
- AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */,
101
- );
102
- name = Pods;
103
- sourceTree = "<group>";
104
- };
105
91
  /* End PBXGroup section */
106
92
 
107
93
  /* Begin PBXNativeTarget section */
@@ -109,17 +95,16 @@
109
95
  isa = PBXNativeTarget;
110
96
  buildConfigurationList = 504EC3161FED79650016851F /* Build configuration list for PBXNativeTarget "App" */;
111
97
  buildPhases = (
112
- 6634F4EFEBD30273BCE97C65 /* [CP] Check Pods Manifest.lock */,
113
98
  504EC3001FED79650016851F /* Sources */,
114
99
  504EC3011FED79650016851F /* Frameworks */,
115
100
  504EC3021FED79650016851F /* Resources */,
116
- 9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */,
117
101
  );
118
102
  buildRules = (
119
103
  );
120
104
  dependencies = (
121
105
  );
122
106
  name = App;
107
+ packageProductDependencies = (4D22ABE82AF431CB00220026 /* CapApp-SPM */);
123
108
  productName = App;
124
109
  productReference = 504EC3041FED79650016851F /* App.app */;
125
110
  productType = "com.apple.product-type.application";
@@ -149,6 +134,7 @@
149
134
  Base,
150
135
  );
151
136
  mainGroup = 504EC2FB1FED79650016851F;
137
+ packageReferences = (D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */);
152
138
  productRefGroup = 504EC3051FED79650016851F /* Products */;
153
139
  projectDirPath = "";
154
140
  projectRoot = "";
@@ -167,7 +153,6 @@
167
153
  50B271D11FEDC1A000F3C39B /* public in Resources */,
168
154
  504EC30F1FED79650016851F /* Assets.xcassets in Resources */,
169
155
  50379B232058CBB4000EE86E /* capacitor.config.json in Resources */,
170
- 504EC30D1FED79650016851F /* Main.storyboard in Resources */,
171
156
  2FAD9763203C412B000D30F8 /* config.xml in Resources */,
172
157
  C3C12F0D2DEDD3AA0068B75D /* db.dat in Resources */,
173
158
  C3D68A432E9FF39D006194D2 /* regula.license in Resources */,
@@ -176,41 +161,7 @@
176
161
  };
177
162
  /* End PBXResourcesBuildPhase section */
178
163
 
179
- /* Begin PBXShellScriptBuildPhase section */
180
- 6634F4EFEBD30273BCE97C65 /* [CP] Check Pods Manifest.lock */ = {
181
- isa = PBXShellScriptBuildPhase;
182
- buildActionMask = 2147483647;
183
- files = (
184
- );
185
- inputPaths = (
186
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
187
- "${PODS_ROOT}/Manifest.lock",
188
- );
189
- name = "[CP] Check Pods Manifest.lock";
190
- outputPaths = (
191
- "$(DERIVED_FILE_DIR)/Pods-App-checkManifestLockResult.txt",
192
- );
193
- runOnlyForDeploymentPostprocessing = 0;
194
- shellPath = /bin/sh;
195
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
196
- showEnvVarsInLog = 0;
197
- };
198
- 9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */ = {
199
- isa = PBXShellScriptBuildPhase;
200
- buildActionMask = 2147483647;
201
- files = (
202
- );
203
- inputPaths = (
204
- );
205
- name = "[CP] Embed Pods Frameworks";
206
- outputPaths = (
207
- );
208
- runOnlyForDeploymentPostprocessing = 0;
209
- shellPath = /bin/sh;
210
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-frameworks.sh\"\n";
211
- showEnvVarsInLog = 0;
212
- };
213
- /* End PBXShellScriptBuildPhase section */
164
+
214
165
 
215
166
  /* Begin PBXSourcesBuildPhase section */
216
167
  504EC3001FED79650016851F /* Sources */ = {
@@ -218,20 +169,13 @@
218
169
  buildActionMask = 2147483647;
219
170
  files = (
220
171
  504EC3081FED79650016851F /* AppDelegate.swift in Sources */,
172
+ 9582B6832FE993A70072D4E8 /* SceneDelegate.swift in Sources */,
221
173
  );
222
174
  runOnlyForDeploymentPostprocessing = 0;
223
175
  };
224
176
  /* End PBXSourcesBuildPhase section */
225
177
 
226
178
  /* Begin PBXVariantGroup section */
227
- 504EC30B1FED79650016851F /* Main.storyboard */ = {
228
- isa = PBXVariantGroup;
229
- children = (
230
- 504EC30C1FED79650016851F /* Base */,
231
- );
232
- name = Main.storyboard;
233
- sourceTree = "<group>";
234
- };
235
179
  504EC3101FED79650016851F /* LaunchScreen.storyboard */ = {
236
180
  isa = PBXVariantGroup;
237
181
  children = (
@@ -296,6 +240,7 @@
296
240
  ONLY_ACTIVE_ARCH = YES;
297
241
  SDKROOT = iphoneos;
298
242
  SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
243
+ CAPACITOR_DEBUG = true;
299
244
  SWIFT_OPTIMIZATION_LEVEL = "-Onone";
300
245
  };
301
246
  name = Debug;
@@ -352,7 +297,6 @@
352
297
  };
353
298
  504EC3171FED79650016851F /* Debug */ = {
354
299
  isa = XCBuildConfiguration;
355
- baseConfigurationReference = FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */;
356
300
  buildSettings = {
357
301
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
358
302
  CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
@@ -362,10 +306,10 @@
362
306
  IPHONEOS_DEPLOYMENT_TARGET = 15.0;
363
307
  LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
364
308
  MARKETING_VERSION = 1.0;
365
- OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
366
309
  PRODUCT_BUNDLE_IDENTIFIER = com.regula.example.idv.capacitor;
367
310
  PRODUCT_NAME = "$(TARGET_NAME)";
368
311
  SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
312
+ CAPACITOR_DEBUG = true;
369
313
  SWIFT_VERSION = 5.0;
370
314
  TARGETED_DEVICE_FAMILY = "1,2";
371
315
  };
@@ -373,7 +317,6 @@
373
317
  };
374
318
  504EC3181FED79650016851F /* Release */ = {
375
319
  isa = XCBuildConfiguration;
376
- baseConfigurationReference = AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */;
377
320
  buildSettings = {
378
321
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
379
322
  CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
@@ -413,6 +356,19 @@
413
356
  defaultConfigurationName = Release;
414
357
  };
415
358
  /* End XCConfigurationList section */
359
+ /* Begin XCLocalSwiftPackageReference section */
360
+ D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */ = {
361
+ isa = XCLocalSwiftPackageReference;
362
+ relativePath = "CapApp-SPM";
363
+ };
364
+ /* End XCLocalSwiftPackageReference section */
365
+ /* Begin XCSwiftPackageProductDependency section */
366
+ 4D22ABE82AF431CB00220026 /* CapApp-SPM */ = {
367
+ isa = XCSwiftPackageProductDependency;
368
+ package = D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */;
369
+ productName = "CapApp-SPM";
370
+ };
371
+ /* End XCSwiftPackageProductDependency section */
416
372
  };
417
373
  rootObject = 504EC2FC1FED79650016851F /* Project object */;
418
374
  }
@@ -0,0 +1 @@
1
+ public let isCapacitorApp = true
@@ -6,23 +6,21 @@
6
6
  "android": "scripts/android.sh"
7
7
  },
8
8
  "dependencies": {
9
- "@regulaforensics/idv": "3.10.225-rc",
10
- "@regulaforensics/idv-module-document-reader": "3.10.284-rc",
11
- "@regulaforensics/idv-module-face": "3.10.285-rc",
12
- "@regulaforensics/document-reader-core-fullauthrfid": "9.9.3150-rc",
13
- "@regulaforensics/face-core-basic": "8.4.848-rc",
14
- "@capacitor/cli": "^8.0.0",
15
- "@capacitor/core": "^8.0.0",
16
- "@capacitor/app": "^8.0.0",
17
- "@capacitor/ios": "^8.0.0",
18
- "@capacitor/android": "^8.0.0",
19
- "@capacitor/status-bar": "^8.0.0",
20
- "@ionic/react": "^8.7.17",
21
- "@vitejs/plugin-react": "^5.1.2",
22
- "vite-plugin-static-copy": "^3.2.0",
23
- "@types/react-router-dom": "^5.3.3"
9
+ "@regulaforensics/idv": "3.10.230-beta",
10
+ "@regulaforensics/idv-module-document-reader": "3.10.294-beta",
11
+ "@regulaforensics/idv-module-face": "3.10.295-beta",
12
+ "@regulaforensics/document-reader-core-fullauthrfid": "9.9.3183-beta",
13
+ "@regulaforensics/face-core-basic": "8.4.854-beta",
14
+ "@capacitor/cli": "^8.5.2",
15
+ "@capacitor/core": "^8.5.2",
16
+ "@capacitor/ios": "^8.5.2",
17
+ "@capacitor/android": "^8.5.2",
18
+ "vite": "^8.3.0"
24
19
  },
25
20
  "overrides": {
26
- "esbuild": "^0.28.1"
27
- }
28
- }
21
+ "xcode": {
22
+ "uuid": "^11.1.1"
23
+ }
24
+ },
25
+ "type": "module"
26
+ }
@@ -1,11 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
  set -e
3
3
 
4
- if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; then
5
- ionic cap sync android
6
- open -a 'Android Studio' android
7
- else
8
- ionic cap run android
9
- fi
10
-
11
- exit 0
4
+ vite build
5
+ npx cap sync android
6
+ [[ " $* " == *" --open "* || " $* " == *" -o "* ]] &&
7
+ npx cap open android ||
8
+ npx cap run android --no-sync
@@ -1,10 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
  set -e
3
3
 
4
- if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; then
5
- ionic cap run ios --open
6
- else
7
- ionic cap run ios
8
- fi
9
-
10
- exit 0
4
+ vite build
5
+ npx cap sync ios
6
+ [[ " $* " == *" --open "* || " $* " == *" -o "* ]] &&
7
+ npx cap open ios ||
8
+ npx cap run ios --no-sync
@@ -2,15 +2,10 @@
2
2
  set -e
3
3
 
4
4
  npm install
5
- ionic cap sync ios || {
6
- cd ios/App
7
- pod update
8
- cd ../../
9
- }
5
+ vite build
6
+ npx cap sync
10
7
 
11
8
  cp public/assets/regula.license ios/App/App/
12
9
  cp public/assets/db.dat ios/App/App/
13
10
  cp public/assets/regula.license android/app/src/main/assets/Regula/
14
11
  cp public/assets/db.dat android/app/src/main/assets/Regula/
15
-
16
- exit 0
@@ -1,6 +1,7 @@
1
1
  html,
2
2
  body {
3
3
  margin: 0;
4
+ font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, sans-serif;
4
5
  width: 100%;
5
6
  height: 99vh;
6
7
  display: flex;
@@ -145,4 +146,7 @@ input[type="text"] {
145
146
  height: 20px;
146
147
  background-color: #4285F4;
147
148
  border-radius: 5px;
148
- }
149
+ }
150
+ * {
151
+ box-sizing: border-box;
152
+ }
@@ -3,7 +3,7 @@ import { IDV, Workflow } from '@regulaforensics/idv'
3
3
  enum Configuration { credentials, token, apiKey }
4
4
 
5
5
  const loginType: Configuration = Configuration.credentials
6
- const baseUrl = "https://idv.regula.app"
6
+ const baseUrl = "https://app.idv-platform.com"
7
7
  const username = "username_placeholder"
8
8
  const password = "password_placeholder"
9
9
  const tokenUrl = "token_placeholder"
@@ -1,17 +1,5 @@
1
- import react from '@vitejs/plugin-react'
2
1
  import { defineConfig } from 'vite'
3
- import { viteStaticCopy } from 'vite-plugin-static-copy';
4
2
 
5
3
  export default defineConfig({
6
- plugins: [
7
- react(),
8
- viteStaticCopy({
9
- targets: [
10
- {
11
- src: 'src/main.html',
12
- dest: '.'
13
- }
14
- ]
15
- })],
16
4
  build: { outDir: 'www' }
17
5
  })
@@ -1,5 +1,7 @@
1
1
  # Regula IDV Ionic demo application
2
2
 
3
+ Requires Node.js 22+, Xcode 26+, Android Studio with JDK 17 and Android SDK 36.
4
+
3
5
  ## How to build demo application
4
6
  1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/npm-idv.git`.
5
7
  2. Put `regula.license` file at `assets/` (you can get a trial license [here](https://client.regulaforensics.com)).
@@ -21,7 +21,7 @@
21
21
  <platform name="ios">
22
22
  <resource-file src="assets/regula.license" />
23
23
  <resource-file src="assets/db.dat" />
24
- <preference name="deployment-target" value="14.0" />
24
+ <preference name="deployment-target" value="15.0" />
25
25
  <preference name="orientation" value="portrait" />
26
26
  <allow-intent href="itms:*" />
27
27
  <allow-intent href="itms-apps:*" />
@@ -1,14 +1,16 @@
1
1
  import 'zone.js';
2
2
  import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'
3
3
  import { BrowserModule } from '@angular/platform-browser'
4
- import { IonicModule, Platform } from '@ionic/angular'
5
- import { NgModule } from '@angular/core'
4
+ import { IonicModule } from '@ionic/angular/lazy'
5
+ import { Platform } from '@ionic/angular'
6
+ import { NgModule, provideZoneChangeDetection } from '@angular/core'
6
7
  import { Component } from '@angular/core'
7
8
 
8
9
  import { main } from './src/main'
9
10
 
10
11
  @Component({
11
12
  selector: 'app-root',
13
+ standalone: false,
12
14
  templateUrl: 'src/main.html',
13
15
  styleUrl: 'src/main.css'
14
16
  })
@@ -24,9 +26,12 @@ class Main {
24
26
 
25
27
  @NgModule({
26
28
  bootstrap: [Main],
29
+ declarations: [Main],
27
30
  providers: [Platform],
28
31
  imports: [BrowserModule, IonicModule.forRoot()]
29
32
  })
30
33
  class MainModule { }
31
34
 
32
- platformBrowserDynamic().bootstrapModule(MainModule)
35
+ platformBrowserDynamic().bootstrapModule(MainModule, {
36
+ applicationProviders: [provideZoneChangeDetection()]
37
+ })
@@ -7,37 +7,33 @@
7
7
  "postinstall": "patch-package"
8
8
  },
9
9
  "dependencies": {
10
- "@regulaforensics/idv": "3.10.225-rc",
11
- "@regulaforensics/idv-module-document-reader": "3.10.284-rc",
12
- "@regulaforensics/idv-module-face": "3.10.285-rc",
13
- "@regulaforensics/document-reader-core-fullauthrfid": "9.9.3150-rc",
14
- "@regulaforensics/face-core-basic": "8.4.848-rc",
15
- "@angular-devkit/build-angular": "^22.0.5",
16
- "@angular/cli": "^22.0.5",
17
- "@angular/common": "^22.0.5",
18
- "@angular/compiler-cli": "^22.0.5",
19
- "@angular/core": "^22.0.5",
20
- "@angular/forms": "^22.0.5",
21
- "@angular/platform-browser-dynamic": "^22.0.5",
22
- "@angular/router": "^22.0.5",
23
- "@ionic/angular": "^8.8.13",
24
- "@ionic/cordova-builders": "^12.3.0",
25
- "cordova-android": "^15.0.0",
10
+ "@regulaforensics/idv": "3.10.230-beta",
11
+ "@regulaforensics/idv-module-document-reader": "3.10.294-beta",
12
+ "@regulaforensics/idv-module-face": "3.10.295-beta",
13
+ "@regulaforensics/document-reader-core-fullauthrfid": "9.9.3183-beta",
14
+ "@regulaforensics/face-core-basic": "8.4.854-beta",
15
+ "@angular-devkit/build-angular": "^22.1.8",
16
+ "@angular/cli": "^22.1.8",
17
+ "@angular/common": "^22.1.7",
18
+ "@angular/compiler-cli": "^22.1.7",
19
+ "@angular/core": "^22.1.7",
20
+ "@angular/forms": "^22.1.7",
21
+ "@angular/platform-browser-dynamic": "^22.1.7",
22
+ "@angular/router": "^22.1.7",
23
+ "@ionic/angular": "^9.0.4",
24
+ "@ionic/cordova-builders": "^13.0.0",
25
+ "cordova-android": "^15.1.0",
26
26
  "cordova-ios": "^8.1.1",
27
27
  "cordova-plugin-ionic-webview": "^5.0.1",
28
- "patch-package": "^8.0.1"
28
+ "patch-package": "^8.0.1",
29
+ "@angular/compiler": "^22.1.7",
30
+ "@angular/platform-browser": "^22.1.7",
31
+ "zone.js": "~0.16.3",
32
+ "typescript": "~6.0.3"
29
33
  },
30
34
  "overrides": {
31
- "@babel/core": "^7.29.0",
32
- "ajv": "^8.18.0",
33
- "esbuild": "^0.28.1",
34
- "http-proxy-middleware": "^3.0.7",
35
- "picomatch": "^4.0.4",
36
- "serialize-javascript": "^7.0.4",
37
- "uuid": "^14.0.0",
38
- "postcss": "^8.5.22",
39
- "image-size": "npm:image-size-next@2.1.1",
40
- "webpack-dev-server": "^5.2.4"
35
+ "serialize-javascript": "^7.1.1",
36
+ "uuid": "^11.1.1"
41
37
  },
42
38
  "cordova": {
43
39
  "plugins": {
@@ -2,10 +2,8 @@
2
2
  set -e
3
3
 
4
4
  if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; then
5
- ionic cordova build android
5
+ ionic cordova prepare android
6
6
  open -a 'Android Studio' platforms/android
7
7
  else
8
8
  ionic cordova run android
9
9
  fi
10
-
11
- exit 0
@@ -7,5 +7,3 @@ if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; then
7
7
  else
8
8
  ionic cordova run ios
9
9
  fi
10
-
11
- exit 0
@@ -6,5 +6,3 @@ ionic cordova prepare || {
6
6
  pod repo update
7
7
  ionic cordova prepare
8
8
  }
9
-
10
- exit 0
@@ -3,7 +3,7 @@ import { IDV, Workflow } from '@regulaforensics/idv'
3
3
  enum Configuration { credentials, token, apiKey }
4
4
 
5
5
  const loginType: Configuration = Configuration.credentials
6
- const baseUrl = "https://idv.regula.app"
6
+ const baseUrl = "https://app.idv-platform.com"
7
7
  const username = "username_placeholder"
8
8
  const password = "password_placeholder"
9
9
  const tokenUrl = "token_placeholder"
@@ -9,6 +9,5 @@
9
9
  "experimentalDecorators": true,
10
10
  "target": "es2022",
11
11
  "jsx": "react-jsx",
12
- "skipLibCheck": true, // Temp fix for https://github.com/ionic-team/ionic-framework/issues/30650
13
12
  }
14
13
  }
@@ -1,5 +1,7 @@
1
1
  # Regula IDV React Native demo application
2
2
 
3
+ Requires Node.js 22+, Xcode 26+, CocoaPods, Android Studio with JDK 17 and Android SDK 37.
4
+
3
5
  ## How to build demo application
4
6
  1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/npm-idv.git`.
5
7
  2. Put `regula.license` file at `assets/` (you can get a trial license [here](https://client.regulaforensics.com)).
@@ -5,29 +5,29 @@
5
5
  "setup": "scripts/setup.sh",
6
6
  "ios": "scripts/ios.sh",
7
7
  "android": "scripts/android.sh",
8
- "start": "expo start"
8
+ "start": "expo start --port 8083"
9
9
  },
10
10
  "dependencies": {
11
- "@regulaforensics/idv": "3.10.225-rc",
12
- "@regulaforensics/idv-module-document-reader": "3.10.284-rc",
13
- "@regulaforensics/idv-module-face": "3.10.285-rc",
14
- "@regulaforensics/document-reader-core-fullauthrfid": "9.9.3150-rc",
15
- "@regulaforensics/face-core-basic": "8.4.848-rc",
16
- "expo": "^56.0.8",
17
- "expo-dev-client": "^56.0.18",
18
- "expo-build-properties": "^56.0.16",
11
+ "@regulaforensics/idv": "3.10.230-beta",
12
+ "@regulaforensics/idv-module-document-reader": "3.10.294-beta",
13
+ "@regulaforensics/idv-module-face": "3.10.295-beta",
14
+ "@regulaforensics/document-reader-core-fullauthrfid": "9.9.3183-beta",
15
+ "@regulaforensics/face-core-basic": "8.4.854-beta",
16
+ "expo": "58.0.0-preview.3",
17
+ "expo-dev-client": "58.0.3",
18
+ "expo-build-properties": "58.0.3",
19
19
  "expo-custom-assets": "^1.5.0",
20
- "react-native": "^0.85.3",
21
- "@react-native/metro-config": "^0.85.3",
22
- "react": "^19.2.7",
23
- "@types/react": "^19.2.16",
24
- "react-native-webview": "^13.16.1",
25
- "typescript": "6.0.3"
20
+ "react-native": "0.88.0-rc.0",
21
+ "react": "19.2.3",
22
+ "@types/react": "19.2.18",
23
+ "react-native-webview": "^14.0.1",
24
+ "typescript": "^7.0.2",
25
+ "@expo/config-plugins": "58.0.0"
26
26
  },
27
27
  "overrides": {
28
- "postcss": "^8.5.10",
29
28
  "uuid": "^14.0.0",
30
- "image-size": "npm:image-size-next@2.1.1",
31
- "js-yaml": "^4.1.1"
29
+ "expo-custom-assets": {
30
+ "expo": "$expo"
31
+ }
32
32
  }
33
- }
33
+ }