@regulaforensics/document-reader 8.3.310-beta → 8.3.473-rc

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 (62) hide show
  1. package/README.md +1 -1
  2. package/RNDocumentReader.podspec +2 -2
  3. package/android/build.gradle +1 -1
  4. package/android/cordova.gradle +1 -1
  5. package/android/src/main/java/com/regula/plugin/documentreader/BluetoothUtil.kt +9 -5
  6. package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +20 -0
  7. package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +3 -0
  8. package/android/src/main/java/com/regula/plugin/documentreader/Main.kt +8 -5
  9. package/examples/capacitor/index.tsx +5 -5
  10. package/examples/capacitor/package-lock.json +372 -335
  11. package/examples/capacitor/package.json +3 -3
  12. package/examples/ionic/index.tsx +6 -2
  13. package/examples/ionic/package-lock.json +519 -814
  14. package/examples/ionic/package.json +3 -3
  15. package/examples/react_native/index.html +5 -4
  16. package/examples/react_native/package-lock.json +984 -818
  17. package/examples/react_native/package.json +3 -3
  18. package/ios/RGLWConfig.m +10 -9
  19. package/ios/RGLWJSONConstructor.m +3 -0
  20. package/ios/RGLWMain.h +2 -2
  21. package/ios/RGLWMain.m +2 -2
  22. package/ios/RNDocumentReader.m +2 -2
  23. package/package.json +1 -1
  24. package/plugin.xml +2 -2
  25. package/test/json.tsx +44 -31
  26. package/test/package-lock.json +1 -1
  27. package/test/test.tsx +1 -1
  28. package/www/capacitor/config/InitConfig.js +3 -0
  29. package/www/capacitor/index.js +0 -1
  30. package/www/capacitor/info/DocReaderException.js +2 -0
  31. package/www/capacitor/params/Functionality.js +8 -0
  32. package/www/capacitor/params/customization/CustomizationColors.js +32 -0
  33. package/www/capacitor/params/customization/CustomizationFonts.js +24 -0
  34. package/www/capacitor/params/customization/CustomizationImages.js +8 -0
  35. package/www/capacitor/params/process_params/AuthenticityParams.js +1 -0
  36. package/www/capacitor/params/process_params/LivenessParams.js +2 -2
  37. package/www/capacitor/params/process_params/ProcessParams.js +10 -0
  38. package/www/capacitor/results/authenticity/CheckDiagnose.js +2 -0
  39. package/www/capacitor/results/authenticity/SecurityFeatureType.js +3 -1
  40. package/www/cordova.js +410 -313
  41. package/www/react-native/config/InitConfig.js +3 -0
  42. package/www/react-native/index.js +0 -1
  43. package/www/react-native/info/DocReaderException.js +2 -0
  44. package/www/react-native/params/Functionality.js +8 -0
  45. package/www/react-native/params/customization/CustomizationColors.js +32 -0
  46. package/www/react-native/params/customization/CustomizationFonts.js +24 -0
  47. package/www/react-native/params/customization/CustomizationImages.js +8 -0
  48. package/www/react-native/params/process_params/AuthenticityParams.js +1 -0
  49. package/www/react-native/params/process_params/LivenessParams.js +2 -2
  50. package/www/react-native/params/process_params/ProcessParams.js +10 -0
  51. package/www/react-native/results/authenticity/CheckDiagnose.js +2 -0
  52. package/www/react-native/results/authenticity/SecurityFeatureType.js +3 -1
  53. package/www/types/config/InitConfig.d.ts +5 -0
  54. package/www/types/index.d.ts +2 -2
  55. package/www/types/info/DocReaderException.d.ts +4 -0
  56. package/www/types/params/Functionality.d.ts +6 -0
  57. package/www/types/params/customization/CustomizationColors.d.ts +16 -8
  58. package/www/types/params/customization/CustomizationFonts.d.ts +6 -0
  59. package/www/types/params/customization/CustomizationImages.d.ts +6 -1
  60. package/www/types/params/process_params/ProcessParams.d.ts +5 -0
  61. package/www/types/results/authenticity/CheckDiagnose.d.ts +4 -0
  62. package/www/types/results/authenticity/SecurityFeatureType.d.ts +4 -0
@@ -18,9 +18,9 @@
18
18
  "@awesome-cordova-plugins/file": "^8.1.0",
19
19
  "@ionic/angular": "^8.7.3",
20
20
  "@ionic/cordova-builders": "^12.3.0",
21
- "@regulaforensics/document-reader": "8.3.310-beta",
22
- "@regulaforensics/document-reader-core-fullauthrfid": "8.2.8-beta",
23
- "@regulaforensics/document-reader-btdevice": "8.2.8-beta",
21
+ "@regulaforensics/document-reader": "8.3.473-rc",
22
+ "@regulaforensics/document-reader-core-fullauthrfid": "8.4.787",
23
+ "@regulaforensics/document-reader-btdevice": "8.4.31",
24
24
  "cordova-android": "^14.0.1",
25
25
  "cordova-ios": "^7.1.1",
26
26
  "cordova-plugin-camera": "^8.0.0",
@@ -4,8 +4,9 @@
4
4
  <div id="content" style="height: 100%"></div>
5
5
 
6
6
  <script>
7
- fetch("src/main.html")
8
- .then(response => response.text())
9
- .then(html => document.getElementById("content").innerHTML = html)
10
- .then(_ => window.ReactNativeWebView.postMessage(`{"id": "ready"}`))
7
+ (async () => {
8
+ document.getElementById("content").innerHTML = await fetch("src/main.html").then(r => r.text())
9
+ await new Promise(resolve => requestAnimationFrame(() => requestAnimationFrame(resolve)))
10
+ window.ReactNativeWebView.postMessage(JSON.stringify({ id: "ready" }))
11
+ })()
11
12
  </script>