@trustchex/react-native-sdk 1.355.1 → 1.357.0

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 (254) hide show
  1. package/README.md +2 -9
  2. package/TrustchexSDK.podspec +5 -4
  3. package/android/build.gradle +6 -4
  4. package/android/src/main/AndroidManifest.xml +1 -1
  5. package/android/src/main/java/com/trustchex/reactnativesdk/TrustchexSDKPackage.kt +45 -25
  6. package/android/src/main/java/com/trustchex/reactnativesdk/camera/TrustchexCameraManager.kt +168 -0
  7. package/android/src/main/java/com/trustchex/reactnativesdk/camera/TrustchexCameraView.kt +871 -0
  8. package/android/src/main/java/com/trustchex/reactnativesdk/mlkit/MLKitModule.kt +245 -0
  9. package/android/src/main/java/com/trustchex/reactnativesdk/mrz/MRZValidationModule.kt +785 -0
  10. package/android/src/main/java/com/trustchex/reactnativesdk/mrz/MRZValidator.kt +419 -0
  11. package/android/src/main/java/com/trustchex/reactnativesdk/opencv/OpenCVModule.kt +818 -0
  12. package/ios/Camera/TrustchexCameraManager.m +37 -0
  13. package/ios/Camera/TrustchexCameraManager.swift +125 -0
  14. package/ios/Camera/TrustchexCameraView.swift +1176 -0
  15. package/ios/MLKit/MLKitModule.m +23 -0
  16. package/ios/MLKit/MLKitModule.swift +250 -0
  17. package/ios/MRZValidation.m +39 -0
  18. package/ios/MRZValidation.swift +802 -0
  19. package/ios/MRZValidator.swift +466 -0
  20. package/ios/OpenCV/OpenCVModule.h +4 -0
  21. package/ios/OpenCV/OpenCVModule.mm +810 -0
  22. package/lib/module/Screens/Dynamic/IdentityDocumentEIDScanningScreen.js +2 -3
  23. package/lib/module/Screens/Dynamic/IdentityDocumentScanningScreen.js +1 -2
  24. package/lib/module/Screens/Dynamic/LivenessDetectionScreen.js +418 -193
  25. package/lib/module/Screens/Static/OTPVerificationScreen.js +11 -11
  26. package/lib/module/Screens/Static/QrCodeScanningScreen.js +5 -1
  27. package/lib/module/Screens/Static/ResultScreen.js +25 -2
  28. package/lib/module/Screens/Static/VerificationSessionCheckScreen.js +25 -7
  29. package/lib/module/Shared/Components/DebugNavigationPanel.js +234 -24
  30. package/lib/module/Shared/Components/EIDScanner.js +99 -9
  31. package/lib/module/Shared/Components/FaceCamera.js +170 -179
  32. package/lib/module/Shared/Components/IdentityDocumentCamera.js +2151 -771
  33. package/lib/module/Shared/Components/QrCodeScannerCamera.js +109 -107
  34. package/lib/module/Shared/Components/TrustchexCamera.js +122 -0
  35. package/lib/module/Shared/EIDReader/tlv/tlv.helpers.js +91 -0
  36. package/lib/module/Shared/EIDReader/tlv/tlv.utils.js +2 -124
  37. package/lib/module/Shared/EIDReader/tlv/tlvInputStream.js +4 -4
  38. package/lib/module/Shared/EIDReader/tlv/tlvOutputState.js +4 -4
  39. package/lib/module/Shared/EIDReader/tlv/tlvOutputStream.js +4 -4
  40. package/lib/module/Shared/Libs/analytics.utils.js +2 -2
  41. package/lib/module/Shared/Libs/debug.utils.js +132 -0
  42. package/lib/module/Shared/Libs/deeplink.utils.js +6 -5
  43. package/lib/module/Shared/Libs/demo.utils.js +13 -3
  44. package/lib/module/Shared/Libs/mrz.utils.js +1 -175
  45. package/lib/module/Shared/Libs/native-device-info.utils.js +12 -6
  46. package/lib/module/Shared/Libs/tts.utils.js +40 -6
  47. package/lib/module/Shared/Services/AnalyticsService.js +9 -8
  48. package/lib/module/Shared/Types/mrzFields.js +1 -0
  49. package/lib/module/Translation/Resources/en.js +87 -88
  50. package/lib/module/Translation/Resources/tr.js +84 -85
  51. package/lib/module/Trustchex.js +9 -2
  52. package/lib/module/index.js +1 -0
  53. package/lib/module/version.js +1 -1
  54. package/lib/typescript/src/Screens/Dynamic/IdentityDocumentEIDScanningScreen.d.ts.map +1 -1
  55. package/lib/typescript/src/Screens/Dynamic/IdentityDocumentScanningScreen.d.ts.map +1 -1
  56. package/lib/typescript/src/Screens/Dynamic/LivenessDetectionScreen.d.ts.map +1 -1
  57. package/lib/typescript/src/Screens/Static/OTPVerificationScreen.d.ts.map +1 -1
  58. package/lib/typescript/src/Screens/Static/QrCodeScanningScreen.d.ts.map +1 -1
  59. package/lib/typescript/src/Screens/Static/ResultScreen.d.ts.map +1 -1
  60. package/lib/typescript/src/Screens/Static/VerificationSessionCheckScreen.d.ts.map +1 -1
  61. package/lib/typescript/src/Shared/Components/DebugNavigationPanel.d.ts.map +1 -1
  62. package/lib/typescript/src/Shared/Components/EIDScanner.d.ts +2 -2
  63. package/lib/typescript/src/Shared/Components/EIDScanner.d.ts.map +1 -1
  64. package/lib/typescript/src/Shared/Components/FaceCamera.d.ts +18 -4
  65. package/lib/typescript/src/Shared/Components/FaceCamera.d.ts.map +1 -1
  66. package/lib/typescript/src/Shared/Components/IdentityDocumentCamera.d.ts +3 -4
  67. package/lib/typescript/src/Shared/Components/IdentityDocumentCamera.d.ts.map +1 -1
  68. package/lib/typescript/src/Shared/Components/QrCodeScannerCamera.d.ts +2 -1
  69. package/lib/typescript/src/Shared/Components/QrCodeScannerCamera.d.ts.map +1 -1
  70. package/lib/typescript/src/Shared/Components/TrustchexCamera.d.ts +124 -0
  71. package/lib/typescript/src/Shared/Components/TrustchexCamera.d.ts.map +1 -0
  72. package/lib/typescript/src/Shared/EIDReader/tlv/tlv.helpers.d.ts +11 -0
  73. package/lib/typescript/src/Shared/EIDReader/tlv/tlv.helpers.d.ts.map +1 -0
  74. package/lib/typescript/src/Shared/EIDReader/tlv/tlv.utils.d.ts +2 -39
  75. package/lib/typescript/src/Shared/EIDReader/tlv/tlv.utils.d.ts.map +1 -1
  76. package/lib/typescript/src/Shared/Libs/analytics.utils.d.ts.map +1 -1
  77. package/lib/typescript/src/Shared/Libs/debug.utils.d.ts +42 -0
  78. package/lib/typescript/src/Shared/Libs/debug.utils.d.ts.map +1 -0
  79. package/lib/typescript/src/Shared/Libs/deeplink.utils.d.ts.map +1 -1
  80. package/lib/typescript/src/Shared/Libs/demo.utils.d.ts.map +1 -1
  81. package/lib/typescript/src/Shared/Libs/http-client.d.ts.map +1 -1
  82. package/lib/typescript/src/Shared/Libs/mrz.utils.d.ts +0 -4
  83. package/lib/typescript/src/Shared/Libs/mrz.utils.d.ts.map +1 -1
  84. package/lib/typescript/src/Shared/Libs/native-device-info.utils.d.ts.map +1 -1
  85. package/lib/typescript/src/Shared/Libs/tts.utils.d.ts +4 -3
  86. package/lib/typescript/src/Shared/Libs/tts.utils.d.ts.map +1 -1
  87. package/lib/typescript/src/Shared/Services/AnalyticsService.d.ts.map +1 -1
  88. package/lib/typescript/src/Shared/Types/identificationInfo.d.ts +2 -2
  89. package/lib/typescript/src/Shared/Types/identificationInfo.d.ts.map +1 -1
  90. package/lib/typescript/src/Shared/Types/mrzFields.d.ts +11 -0
  91. package/lib/typescript/src/Shared/Types/mrzFields.d.ts.map +1 -0
  92. package/lib/typescript/src/Translation/Resources/en.d.ts +4 -5
  93. package/lib/typescript/src/Translation/Resources/en.d.ts.map +1 -1
  94. package/lib/typescript/src/Translation/Resources/tr.d.ts +4 -5
  95. package/lib/typescript/src/Translation/Resources/tr.d.ts.map +1 -1
  96. package/lib/typescript/src/Trustchex.d.ts +2 -0
  97. package/lib/typescript/src/Trustchex.d.ts.map +1 -1
  98. package/lib/typescript/src/index.d.ts +1 -0
  99. package/lib/typescript/src/index.d.ts.map +1 -1
  100. package/lib/typescript/src/version.d.ts +1 -1
  101. package/package.json +4 -35
  102. package/src/Screens/Dynamic/ContractAcceptanceScreen.tsx +1 -1
  103. package/src/Screens/Dynamic/IdentityDocumentEIDScanningScreen.tsx +7 -5
  104. package/src/Screens/Dynamic/IdentityDocumentScanningScreen.tsx +2 -3
  105. package/src/Screens/Dynamic/LivenessDetectionScreen.tsx +498 -216
  106. package/src/Screens/Static/OTPVerificationScreen.tsx +37 -31
  107. package/src/Screens/Static/QrCodeScanningScreen.tsx +8 -1
  108. package/src/Screens/Static/ResultScreen.tsx +136 -88
  109. package/src/Screens/Static/VerificationSessionCheckScreen.tsx +46 -13
  110. package/src/Shared/Components/DebugNavigationPanel.tsx +290 -34
  111. package/src/Shared/Components/EIDScanner.tsx +94 -16
  112. package/src/Shared/Components/FaceCamera.tsx +236 -203
  113. package/src/Shared/Components/IdentityDocumentCamera.tsx +3073 -1030
  114. package/src/Shared/Components/QrCodeScannerCamera.tsx +133 -127
  115. package/src/Shared/Components/TrustchexCamera.tsx +289 -0
  116. package/src/Shared/Config/camera-enhancement.config.ts +2 -2
  117. package/src/Shared/EIDReader/tlv/tlv.helpers.ts +96 -0
  118. package/src/Shared/EIDReader/tlv/tlv.utils.ts +2 -125
  119. package/src/Shared/EIDReader/tlv/tlvInputStream.ts +4 -4
  120. package/src/Shared/EIDReader/tlv/tlvOutputState.ts +4 -4
  121. package/src/Shared/EIDReader/tlv/tlvOutputStream.ts +4 -4
  122. package/src/Shared/Libs/analytics.utils.ts +48 -20
  123. package/src/Shared/Libs/debug.utils.ts +149 -0
  124. package/src/Shared/Libs/deeplink.utils.ts +7 -5
  125. package/src/Shared/Libs/demo.utils.ts +4 -0
  126. package/src/Shared/Libs/http-client.ts +12 -8
  127. package/src/Shared/Libs/mrz.utils.ts +1 -163
  128. package/src/Shared/Libs/native-device-info.utils.ts +12 -6
  129. package/src/Shared/Libs/tts.utils.ts +48 -6
  130. package/src/Shared/Services/AnalyticsService.ts +69 -24
  131. package/src/Shared/Types/identificationInfo.ts +2 -2
  132. package/src/Shared/Types/mrzFields.ts +29 -0
  133. package/src/Translation/Resources/en.ts +90 -100
  134. package/src/Translation/Resources/tr.ts +89 -97
  135. package/src/Translation/index.ts +1 -1
  136. package/src/Trustchex.tsx +21 -4
  137. package/src/index.tsx +14 -0
  138. package/src/version.ts +1 -1
  139. package/android/src/main/java/com/trustchex/reactnativesdk/visioncameraplugins/barcodescanner/BarcodeScannerFrameProcessorPlugin.kt +0 -301
  140. package/android/src/main/java/com/trustchex/reactnativesdk/visioncameraplugins/cropper/BitmapUtils.kt +0 -205
  141. package/android/src/main/java/com/trustchex/reactnativesdk/visioncameraplugins/cropper/CropperPlugin.kt +0 -72
  142. package/android/src/main/java/com/trustchex/reactnativesdk/visioncameraplugins/cropper/FrameMetadata.kt +0 -4
  143. package/android/src/main/java/com/trustchex/reactnativesdk/visioncameraplugins/facedetector/FaceDetectorFrameProcessorPlugin.kt +0 -303
  144. package/android/src/main/java/com/trustchex/reactnativesdk/visioncameraplugins/textrecognition/TextRecognitionFrameProcessorPlugin.kt +0 -115
  145. package/ios/VisionCameraPlugins/BarcodeScanner/BarcodeScannerFrameProcessorPlugin-Bridging-Header.h +0 -9
  146. package/ios/VisionCameraPlugins/BarcodeScanner/BarcodeScannerFrameProcessorPlugin.mm +0 -22
  147. package/ios/VisionCameraPlugins/BarcodeScanner/BarcodeScannerFrameProcessorPlugin.swift +0 -188
  148. package/ios/VisionCameraPlugins/Cropper/Cropper-Bridging-Header.h +0 -13
  149. package/ios/VisionCameraPlugins/Cropper/Cropper.h +0 -20
  150. package/ios/VisionCameraPlugins/Cropper/Cropper.mm +0 -22
  151. package/ios/VisionCameraPlugins/Cropper/Cropper.swift +0 -145
  152. package/ios/VisionCameraPlugins/Cropper/CropperUtils.swift +0 -49
  153. package/ios/VisionCameraPlugins/FaceDetector/FaceDetectorFrameProcessorPlugin-Bridging-Header.h +0 -4
  154. package/ios/VisionCameraPlugins/FaceDetector/FaceDetectorFrameProcessorPlugin.mm +0 -22
  155. package/ios/VisionCameraPlugins/FaceDetector/FaceDetectorFrameProcessorPlugin.swift +0 -320
  156. package/ios/VisionCameraPlugins/TextRecognition/TextRecognitionFrameProcessorPlugin-Bridging-Header.h +0 -4
  157. package/ios/VisionCameraPlugins/TextRecognition/TextRecognitionFrameProcessorPlugin.mm +0 -27
  158. package/ios/VisionCameraPlugins/TextRecognition/TextRecognitionFrameProcessorPlugin.swift +0 -144
  159. package/lib/module/Shared/Libs/camera.utils.js +0 -308
  160. package/lib/module/Shared/Libs/frame-enhancement.utils.js +0 -133
  161. package/lib/module/Shared/Libs/opencv.utils.js +0 -21
  162. package/lib/module/Shared/Libs/worklet.utils.js +0 -68
  163. package/lib/module/Shared/VisionCameraPlugins/BarcodeScanner/hooks/useBarcodeScanner.js +0 -46
  164. package/lib/module/Shared/VisionCameraPlugins/BarcodeScanner/hooks/useCameraPermissions.js +0 -35
  165. package/lib/module/Shared/VisionCameraPlugins/BarcodeScanner/index.js +0 -19
  166. package/lib/module/Shared/VisionCameraPlugins/BarcodeScanner/scanCodes.js +0 -26
  167. package/lib/module/Shared/VisionCameraPlugins/BarcodeScanner/types.js +0 -3
  168. package/lib/module/Shared/VisionCameraPlugins/BarcodeScanner/utils/convert.js +0 -197
  169. package/lib/module/Shared/VisionCameraPlugins/BarcodeScanner/utils/geometry.js +0 -101
  170. package/lib/module/Shared/VisionCameraPlugins/BarcodeScanner/utils/highlights.js +0 -60
  171. package/lib/module/Shared/VisionCameraPlugins/Cropper/index.js +0 -47
  172. package/lib/module/Shared/VisionCameraPlugins/FaceDetector/Camera.js +0 -42
  173. package/lib/module/Shared/VisionCameraPlugins/FaceDetector/detectFaces.js +0 -35
  174. package/lib/module/Shared/VisionCameraPlugins/FaceDetector/index.js +0 -4
  175. package/lib/module/Shared/VisionCameraPlugins/FaceDetector/types.js +0 -3
  176. package/lib/module/Shared/VisionCameraPlugins/TextRecognition/Camera.js +0 -56
  177. package/lib/module/Shared/VisionCameraPlugins/TextRecognition/PhotoRecognizer.js +0 -20
  178. package/lib/module/Shared/VisionCameraPlugins/TextRecognition/RemoveLanguageModel.js +0 -9
  179. package/lib/module/Shared/VisionCameraPlugins/TextRecognition/index.js +0 -6
  180. package/lib/module/Shared/VisionCameraPlugins/TextRecognition/scanText.js +0 -20
  181. package/lib/module/Shared/VisionCameraPlugins/TextRecognition/translateText.js +0 -19
  182. package/lib/module/Shared/VisionCameraPlugins/TextRecognition/types.js +0 -3
  183. package/lib/typescript/src/Shared/Libs/camera.utils.d.ts +0 -87
  184. package/lib/typescript/src/Shared/Libs/camera.utils.d.ts.map +0 -1
  185. package/lib/typescript/src/Shared/Libs/frame-enhancement.utils.d.ts +0 -25
  186. package/lib/typescript/src/Shared/Libs/frame-enhancement.utils.d.ts.map +0 -1
  187. package/lib/typescript/src/Shared/Libs/opencv.utils.d.ts +0 -3
  188. package/lib/typescript/src/Shared/Libs/opencv.utils.d.ts.map +0 -1
  189. package/lib/typescript/src/Shared/Libs/worklet.utils.d.ts +0 -9
  190. package/lib/typescript/src/Shared/Libs/worklet.utils.d.ts.map +0 -1
  191. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/hooks/useBarcodeScanner.d.ts +0 -13
  192. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/hooks/useBarcodeScanner.d.ts.map +0 -1
  193. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/hooks/useCameraPermissions.d.ts +0 -6
  194. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/hooks/useCameraPermissions.d.ts.map +0 -1
  195. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/index.d.ts +0 -12
  196. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/index.d.ts.map +0 -1
  197. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/scanCodes.d.ts +0 -3
  198. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/scanCodes.d.ts.map +0 -1
  199. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/types.d.ts +0 -52
  200. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/types.d.ts.map +0 -1
  201. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/utils/convert.d.ts +0 -62
  202. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/utils/convert.d.ts.map +0 -1
  203. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/utils/geometry.d.ts +0 -34
  204. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/utils/geometry.d.ts.map +0 -1
  205. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/utils/highlights.d.ts +0 -32
  206. package/lib/typescript/src/Shared/VisionCameraPlugins/BarcodeScanner/utils/highlights.d.ts.map +0 -1
  207. package/lib/typescript/src/Shared/VisionCameraPlugins/Cropper/index.d.ts +0 -23
  208. package/lib/typescript/src/Shared/VisionCameraPlugins/Cropper/index.d.ts.map +0 -1
  209. package/lib/typescript/src/Shared/VisionCameraPlugins/FaceDetector/Camera.d.ts +0 -9
  210. package/lib/typescript/src/Shared/VisionCameraPlugins/FaceDetector/Camera.d.ts.map +0 -1
  211. package/lib/typescript/src/Shared/VisionCameraPlugins/FaceDetector/detectFaces.d.ts +0 -3
  212. package/lib/typescript/src/Shared/VisionCameraPlugins/FaceDetector/detectFaces.d.ts.map +0 -1
  213. package/lib/typescript/src/Shared/VisionCameraPlugins/FaceDetector/index.d.ts +0 -3
  214. package/lib/typescript/src/Shared/VisionCameraPlugins/FaceDetector/index.d.ts.map +0 -1
  215. package/lib/typescript/src/Shared/VisionCameraPlugins/FaceDetector/types.d.ts +0 -79
  216. package/lib/typescript/src/Shared/VisionCameraPlugins/FaceDetector/types.d.ts.map +0 -1
  217. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/Camera.d.ts +0 -6
  218. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/Camera.d.ts.map +0 -1
  219. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/PhotoRecognizer.d.ts +0 -3
  220. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/PhotoRecognizer.d.ts.map +0 -1
  221. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/RemoveLanguageModel.d.ts +0 -3
  222. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/RemoveLanguageModel.d.ts.map +0 -1
  223. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/index.d.ts +0 -5
  224. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/index.d.ts.map +0 -1
  225. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/scanText.d.ts +0 -3
  226. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/scanText.d.ts.map +0 -1
  227. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/translateText.d.ts +0 -3
  228. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/translateText.d.ts.map +0 -1
  229. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/types.d.ts +0 -67
  230. package/lib/typescript/src/Shared/VisionCameraPlugins/TextRecognition/types.d.ts.map +0 -1
  231. package/src/Shared/Libs/camera.utils.ts +0 -345
  232. package/src/Shared/Libs/frame-enhancement.utils.ts +0 -217
  233. package/src/Shared/Libs/opencv.utils.ts +0 -40
  234. package/src/Shared/Libs/worklet.utils.ts +0 -72
  235. package/src/Shared/VisionCameraPlugins/BarcodeScanner/hooks/useBarcodeScanner.ts +0 -79
  236. package/src/Shared/VisionCameraPlugins/BarcodeScanner/hooks/useCameraPermissions.ts +0 -46
  237. package/src/Shared/VisionCameraPlugins/BarcodeScanner/index.ts +0 -60
  238. package/src/Shared/VisionCameraPlugins/BarcodeScanner/scanCodes.ts +0 -32
  239. package/src/Shared/VisionCameraPlugins/BarcodeScanner/types.ts +0 -82
  240. package/src/Shared/VisionCameraPlugins/BarcodeScanner/utils/convert.ts +0 -195
  241. package/src/Shared/VisionCameraPlugins/BarcodeScanner/utils/geometry.ts +0 -135
  242. package/src/Shared/VisionCameraPlugins/BarcodeScanner/utils/highlights.ts +0 -84
  243. package/src/Shared/VisionCameraPlugins/Cropper/index.ts +0 -78
  244. package/src/Shared/VisionCameraPlugins/FaceDetector/Camera.tsx +0 -63
  245. package/src/Shared/VisionCameraPlugins/FaceDetector/detectFaces.ts +0 -44
  246. package/src/Shared/VisionCameraPlugins/FaceDetector/index.ts +0 -3
  247. package/src/Shared/VisionCameraPlugins/FaceDetector/types.ts +0 -99
  248. package/src/Shared/VisionCameraPlugins/TextRecognition/Camera.tsx +0 -76
  249. package/src/Shared/VisionCameraPlugins/TextRecognition/PhotoRecognizer.ts +0 -18
  250. package/src/Shared/VisionCameraPlugins/TextRecognition/RemoveLanguageModel.ts +0 -7
  251. package/src/Shared/VisionCameraPlugins/TextRecognition/index.ts +0 -7
  252. package/src/Shared/VisionCameraPlugins/TextRecognition/scanText.ts +0 -27
  253. package/src/Shared/VisionCameraPlugins/TextRecognition/translateText.ts +0 -21
  254. package/src/Shared/VisionCameraPlugins/TextRecognition/types.ts +0 -141
@@ -1,35 +1,35 @@
1
1
  "use strict";
2
2
 
3
3
  export default {
4
- 'verificationSessionCheckScreen.mainText': 'To start the identity verification process',
4
+ 'verificationSessionCheckScreen.mainText': 'Start the identity verification process',
5
5
  'verificationSessionCheckScreen.enterSessionCode': 'Enter Session Code',
6
- 'verificationSessionCheckScreen.codeText': 'Please enter the verification code you received.',
7
- 'verificationSessionCheckScreen.codeError': 'The code you entered is incorrect.',
6
+ 'verificationSessionCheckScreen.codeText': 'Please enter your verification code',
7
+ 'verificationSessionCheckScreen.codeError': 'The verification code you entered is incorrect',
8
8
  'verificationSessionCheckScreen.sendCodeAgain': 'Send Code Again',
9
- 'verificationSessionCheckScreen.cannotSendVerificationCode': 'Unable to send verification code.',
10
- 'verificationSessionCheckScreen.noVerificationSessionFound': 'No valid verification session found. The session may have expired or has already been completed.',
9
+ 'verificationSessionCheckScreen.cannotSendVerificationCode': 'Unable to send verification code. Please try again.',
10
+ 'verificationSessionCheckScreen.noVerificationSessionFound': 'Verification session not found or expired.',
11
11
  'verificationSessionCheckScreen.scanQRCode': 'Scan QR Code',
12
12
  'verificationSessionCheckScreen.or': 'or',
13
13
  'general.warning': 'Warning',
14
14
  'general.error': 'Error',
15
15
  'general.yes': 'Yes',
16
16
  'general.no': 'No',
17
- 'general.letsGo': "Let's Get Started",
18
- 'general.noCameraPermissionGiven': 'Camera permission has not been granted. If you accidentally denied it, please enable the permission in your app settings or reinstall the app.',
19
- 'general.noMicrophonePermissionGiven': 'Microphone permission has not been granted. If you accidentally denied it, please enable the permission in your app settings or reinstall the app.',
20
- 'general.noCameraDetected': 'No camera hardware detected. Please use a different device.',
17
+ 'general.letsGo': 'Start',
18
+ 'general.noCameraPermissionGiven': 'Camera access is required. Please enable camera permissions in your device settings.',
19
+ 'general.noMicrophonePermissionGiven': 'Microphone access is required. Please enable microphone permissions in your device settings.',
20
+ 'general.noCameraDetected': 'Camera hardware not available on this device',
21
21
  'general.openSettings': 'Open Settings',
22
- 'general.countryNotAllowed': 'The country of the scanned document is not supported for identity verification.',
23
- 'general.documentTypeNotAllowed': 'The scanned document type is not supported for identity verification.',
24
- 'termsOfUseAndDataPrivacyScreen.footerText': 'Please read the text above and scroll to the end to accept.',
25
- 'termsOfUseAndDataPrivacyScreen.footerTextSRO': "You may now press 'Accept and Continue'.",
22
+ 'general.countryNotAllowed': 'Country not supported',
23
+ 'general.documentTypeNotAllowed': 'Document type not supported',
24
+ 'termsOfUseAndDataPrivacyScreen.footerText': 'Please read and scroll to accept',
25
+ 'termsOfUseAndDataPrivacyScreen.footerTextSRO': 'You can now tap Accept to continue',
26
26
  'termsOfUseAndDataPrivacyScreen.acceptAndContinue': 'Accept and Continue',
27
- 'resultScreen.submitting': 'Submitting verification data...',
28
- 'resultScreen.submissionFailed': 'An error occurred during the verification process. Please try again later.',
29
- 'resultScreen.submissionSuccessful': 'Verification data successfully submitted. Your information will be reviewed, and you will be notified of the result as soon as possible.',
27
+ 'resultScreen.submitting': 'Submitting your information...',
28
+ 'resultScreen.submissionFailed': 'An error occurred. Please try again later.',
29
+ 'resultScreen.submissionSuccessful': 'Your information has been securely submitted. You will be notified of the verification result shortly.',
30
30
  'resultScreen.thankYou': 'Thank You!',
31
31
  'resultScreen.demo': 'Demo',
32
- 'resultScreen.demoDescription': 'Displays the data collected during the demo.',
32
+ 'resultScreen.demoDescription': 'Collected demo data',
33
33
  'resultScreen.demoDeviceIdentifier': 'Device Identifier',
34
34
  'resultScreen.demoScannedDocument': 'Scanned Document',
35
35
  'resultScreen.demoScannedDocumentInformation': 'Information',
@@ -41,36 +41,31 @@ export default {
41
41
  'resultScreen.demoImageHologram': 'Hologram',
42
42
  'resultScreen.demoLivenessDetection': 'Liveness Detection',
43
43
  'resultScreen.demoVideo': 'Video',
44
- 'resultScreen.demoInstruction_smile': 'Smile',
45
- 'resultScreen.demoInstruction_look_straight_and_blink': 'Look straight and blink',
46
- 'resultScreen.demoInstruction_turn_head_left': 'Turn your head to the left',
47
- 'resultScreen.demoInstruction_turn_head_right': 'Turn your head to the right',
48
- 'resultScreen.demoInstruction_look_up': 'Look up',
49
44
  'resultScreen.demoStartOver': 'Start Over',
50
- 'livenessDetectionScreen.guideHeader': 'Get Ready for Face Scanning',
51
- 'livenessDetectionScreen.guideText': 'Before you begin, please note the following:',
52
- 'livenessDetectionScreen.guidePoint1': 'Do not wear glasses, hats, or scarves. Please ensure you are appropriately dressed',
53
- 'livenessDetectionScreen.guidePoint2': 'Ensure your face is well-lit',
54
- 'livenessDetectionScreen.guidePoint3': 'Minimize background noise',
55
- 'livenessDetectionScreen.guidePoint4': 'Ensure you are the only person in front of the camera',
56
- 'livenessDetectionScreen.placeFaceInsideCircle': 'Please position your face inside the circle.',
57
- 'livenessDetectionScreen.multipleFacesDetected': 'Multiple faces detected. Please ensure you are the only person in front of the camera.',
58
- 'livenessDetectionScreen.start': 'Keep your face inside the circle',
59
- 'livenessDetectionScreen.smile': 'Smile',
60
- 'livenessDetectionScreen.lookStraightAndBlink': 'Look at the camera and blink',
61
- 'livenessDetectionScreen.turnHeadLeft': 'Turn your head to the left',
62
- 'livenessDetectionScreen.turnHeadRight': 'Turn your head to the right',
45
+ 'livenessDetectionScreen.guideHeader': 'Face Verification',
46
+ 'livenessDetectionScreen.guideText': 'Please ensure the following for best results:',
47
+ 'livenessDetectionScreen.guidePoint1': 'Remove glasses, hats, or face coverings',
48
+ 'livenessDetectionScreen.guidePoint2': 'Position yourself in good lighting',
49
+ 'livenessDetectionScreen.guidePoint3': 'Find a quiet environment',
50
+ 'livenessDetectionScreen.guidePoint4': 'Ensure only your face is visible in the frame',
51
+ 'livenessDetectionScreen.placeFaceInsideCircle': 'Position your face inside the circle',
52
+ 'livenessDetectionScreen.multipleFacesDetected': 'Multiple faces detected. Ensure only you are in frame.',
53
+ 'livenessDetectionScreen.start': 'Keep your face in the circle',
54
+ 'livenessDetectionScreen.smile': 'Look at camera and smile',
55
+ 'livenessDetectionScreen.lookStraightAndBlink': 'Look at camera and blink both eyes',
56
+ 'livenessDetectionScreen.turnHeadLeft': 'Turn head left',
57
+ 'livenessDetectionScreen.turnHeadRight': 'Turn head right',
63
58
  'livenessDetectionScreen.lookUp': 'Look up',
64
- 'livenessDetectionScreen.sayNumber': 'Say the number: {number}',
65
- 'livenessDetectionScreen.finish': 'Process completed',
66
- 'livenessDetectionScreen.brightnessLow': 'Please ensure your face is well-lit.',
59
+ 'livenessDetectionScreen.sayNumber': 'Say: {number}',
60
+ 'livenessDetectionScreen.finish': 'Completed',
61
+ 'livenessDetectionScreen.brightnessLow': 'Insufficient lighting. Please provide better illumination.',
67
62
  'livenessDetectionScreen.faceTooBig': 'You are too close. Please move back slightly.',
68
- 'livenessDetectionScreen.followInstructions': 'Keep your device steady and follow the instructions.',
69
- 'eidScannerScreen.guideHeader': 'Get Ready for NFC Scanning',
70
- 'eidScannerScreen.guideText': 'After starting the scan, place your identity document near the NFC reader on the back of your device and wait until the reading is complete.',
71
- 'eidScannerScreen.invalidMRZFields': 'Identity information is missing or incorrect. Please try again.',
72
- 'eidScannerScreen.imageCannotBeShown': 'Photo found but cannot be displayed.',
73
- 'eidScannerScreen.faceImageNotFound': 'Photo not found.',
63
+ 'livenessDetectionScreen.followInstructions': 'Please keep device steady and follow the instructions.',
64
+ 'eidScannerScreen.guideHeader': 'NFC Document Scan',
65
+ 'eidScannerScreen.guideText': 'When prompted, hold your document flat against the back of your device near the NFC antenna.',
66
+ 'eidScannerScreen.invalidMRZFields': 'Document information could not be read. Please try again.',
67
+ 'eidScannerScreen.imageCannotBeShown': 'Photo data found but cannot be displayed.',
68
+ 'eidScannerScreen.faceImageNotFound': 'Photo data not found on document.',
74
69
  'eidScannerScreen.documentCode': 'Document Code',
75
70
  'eidScannerScreen.nationality': 'Nationality',
76
71
  'eidScannerScreen.personalNumber': 'Personal Number',
@@ -81,57 +76,61 @@ export default {
81
76
  'eidScannerScreen.gender': 'Gender',
82
77
  'eidScannerScreen.expirationDate': 'Expiration Date',
83
78
  'eidScannerScreen.mrzText': 'MRZ Text',
84
- 'eidScannerScreen.nfcNotSupported': 'Your device does not support NFC. Please use a different device.',
85
- 'eidScannerScreen.nfcNotEnabled': 'NFC is not enabled. Please enable it and try again.',
79
+ 'eidScannerScreen.nfcNotSupported': 'This device does not support NFC functionality.',
80
+ 'eidScannerScreen.nfcNotEnabled': 'NFC is disabled on this device. Enable it in settings.',
86
81
  'eidScannerScreen.enableNFC': 'Enable NFC',
87
- 'eidScannerScreen.startScanning': 'Start Scanning',
88
- 'eidScannerScreen.placeIDCardOnNFC': 'Please place your identity document near the NFC reader on the back of your device and wait.',
89
- 'eidScannerScreen.placePassportOnNFC': 'Please place your identity document near the NFC reader on the back of your device and wait.',
90
- 'eidScannerScreen.placeDocumentOnNFC': 'Please place your identity document near the NFC reader on the back of your device and wait.',
91
- 'eidScannerScreen.readingDocument': 'Please hold steady and wait until the reading process is complete.',
92
- 'eidScannerScreen.checkYourInformation': "Please review your information. To continue, press 'Approve and Continue'.",
82
+ 'eidScannerScreen.startScanning': 'Start Scan',
83
+ 'eidScannerScreen.placeIDCardOnNFC': 'Place your ID card near the NFC reader',
84
+ 'eidScannerScreen.placePassportOnNFC': 'Place your passport near the NFC reader',
85
+ 'eidScannerScreen.placeDocumentOnNFC': 'Place your document near the NFC reader',
86
+ 'eidScannerScreen.readingDocument': 'Hold steady - Reading document',
87
+ 'eidScannerScreen.checkYourInformation': 'Review your information carefully',
93
88
  'eidScannerScreen.approveAndContinue': 'Approve and Continue',
94
- 'eidScannerScreen.connecting': 'Connecting to chip...',
89
+ 'eidScannerScreen.connecting': 'Establishing secure connection...',
95
90
  'eidScannerScreen.readingMRZ': 'Reading document information...',
96
- 'eidScannerScreen.readingFaceImage': 'Reading photo...',
97
- 'eidScannerScreen.completing': 'Completing scan...',
91
+ 'eidScannerScreen.readingFaceImage': 'Reading photo data...',
92
+ 'eidScannerScreen.completing': 'Finalizing verification...',
98
93
  'eidScannerScreen.progress': 'Progress',
99
- 'identityDocumentCamera.guideHeader': 'Is Your Identity Document Ready?',
100
- 'identityDocumentCamera.guideText': 'Before you begin, please note the following:',
101
- 'identityDocumentCamera.guidePoint1': 'The document must be clear and legible',
102
- 'identityDocumentCamera.guidePoint2': 'Ensure your environment is well-lit',
103
- 'identityDocumentCamera.guidePoint3': 'Avoid reflections or glare on the document',
104
- 'identityDocumentCamera.lowBrightness': 'Please increase the ambient light or move to a better-lit environment.',
105
- 'identityDocumentCamera.alignPhotoSide': 'Please align the photo side of your identity document with the camera.',
106
- 'identityDocumentCamera.alignHologram': 'Please show the hologram on your document to the camera from different angles.',
107
- 'identityDocumentCamera.alignIDFrontSide': 'Align the front side of your identity document with the camera.',
108
- 'identityDocumentCamera.alignIDBackSide': 'Align the back side of your identity document with the camera.',
109
- 'identityDocumentCamera.scanCompleted': 'Scan completed successfully.',
94
+ 'identityDocumentCamera.guideHeader': 'Document Scan',
95
+ 'identityDocumentCamera.guideText': 'Please ensure the following for best results:',
96
+ 'identityDocumentCamera.guidePoint1': 'Place document on a flat, dark surface',
97
+ 'identityDocumentCamera.guidePoint2': 'Use adequate lighting without glare',
98
+ 'identityDocumentCamera.guidePoint3': 'Keep the document within the frame',
99
+ 'identityDocumentCamera.lowBrightness': 'Insufficient lighting. Move to a brighter location.',
100
+ 'identityDocumentCamera.alignPhotoSide': 'Show the side with your photo',
101
+ 'identityDocumentCamera.alignHologram': 'Tilt your document slowly',
102
+ 'identityDocumentCamera.alignIDFrontSide': 'Align the front side of your ID card',
103
+ 'identityDocumentCamera.alignIDBackSide': 'Align the back side of your ID card',
104
+ 'identityDocumentCamera.scanCompleted': 'Scan completed!',
110
105
  'identityDocumentCamera.frontSideScanned': 'Front side scanned!',
111
106
  'identityDocumentCamera.passportScanned': 'Passport scanned!',
112
107
  'identityDocumentCamera.backSideScanned': 'Back side scanned!',
113
- 'identityDocumentCamera.hologramVerified': 'Scanned!',
114
- 'identityDocumentCamera.searchingDocument': 'Position your document inside the frame',
115
- 'identityDocumentCamera.faceDetected': 'Photo detected! Hold steady...',
108
+ 'identityDocumentCamera.hologramVerified': 'Hologram verified!',
109
+ 'identityDocumentCamera.searchingDocument': 'Position document within the frame',
110
+ 'identityDocumentCamera.faceDetected': 'Keep device steady...',
116
111
  'identityDocumentCamera.readingDocument': 'Reading document...',
117
- 'identityDocumentCamera.processing': 'Processing...',
118
- 'identityDocumentCamera.stepProgress': 'Step {{current}} of {{total}}',
119
- 'identityDocumentCamera.frontSide': 'Front Side',
120
- 'identityDocumentCamera.backSide': 'Back Side',
121
- 'identityDocumentCamera.hologramCheck': 'Hologram Verification',
122
- 'identityDocumentCamera.keepSteady': 'Keep the document steady',
123
- 'identityDocumentCamera.avoidBlur': 'Hold steady or move document away to refocus',
124
- 'identityDocumentCamera.wrongSideFront': 'Wrong side! Please show the front side',
125
- 'identityDocumentCamera.wrongSideBack': 'Wrong side! Please flip to the back side',
126
- 'identityDocumentCamera.idCardDetected': 'ID card detected',
127
- 'identityDocumentCamera.idCardFrontDetected': 'ID card front detected! Hold steady...',
128
- 'identityDocumentCamera.passportDetected': 'Passport detected! Hold steady...',
129
- 'identityDocumentCamera.moveCloser': 'Move closer to the document',
130
- 'identityDocumentCamera.moveFarther': 'Move farther from the document',
131
- 'identityDocumentCamera.documentTooSmall': 'Document too small - move closer',
132
- 'identityDocumentCamera.documentTooLarge': 'Document too large - move back',
133
- 'identityDocumentCamera.holdSteady': 'Hold steady',
134
- 'identityDocumentCamera.centerDocument': 'Center the document in frame',
135
- 'navigationManager.skipStepWarning': 'It is recommended to complete this step. Are you sure you want to skip it?',
112
+ 'identityDocumentCamera.processing': 'Processing document...',
113
+ 'identityDocumentCamera.stepProgress': '{{current}}/{{total}}',
114
+ 'identityDocumentCamera.frontSide': 'Front',
115
+ 'identityDocumentCamera.backSide': 'Back',
116
+ 'identityDocumentCamera.hologramCheck': 'Hologram',
117
+ 'identityDocumentCamera.keepSteady': 'Keep device steady',
118
+ 'identityDocumentCamera.avoidBlur': 'Keep device steady',
119
+ 'identityDocumentCamera.wrongSideFront': 'Show the front side of your document',
120
+ 'identityDocumentCamera.wrongSideBack': 'Show the back side of your document',
121
+ 'identityDocumentCamera.idCardDetected': 'ID detected',
122
+ 'identityDocumentCamera.idCardFrontDetected': 'Keep device steady...',
123
+ 'identityDocumentCamera.idCardBackDetected': 'Keep device steady...',
124
+ 'identityDocumentCamera.passportDetected': 'Keep device steady...',
125
+ 'identityDocumentCamera.alignIDFront': 'Align your ID card (front)',
126
+ 'identityDocumentCamera.alignIDBack': 'Align your ID card (back)',
127
+ 'identityDocumentCamera.alignPassport': 'Align your passport',
128
+ 'identityDocumentCamera.moveCloser': 'Move closer',
129
+ 'identityDocumentCamera.moveFarther': 'Move back',
130
+ 'identityDocumentCamera.documentTooSmall': 'Too far. Move closer.',
131
+ 'identityDocumentCamera.documentTooLarge': 'Too close. Move back.',
132
+ 'identityDocumentCamera.holdSteady': 'Keep device steady',
133
+ 'identityDocumentCamera.centerDocument': 'Center document in the frame',
134
+ 'navigationManager.skipStepWarning': 'Completing this step is recommended for successful verification. Skip anyway?',
136
135
  'navigationManager.skipStepLabel': 'Skip This Step'
137
136
  };
@@ -1,35 +1,35 @@
1
1
  "use strict";
2
2
 
3
3
  export default {
4
- 'verificationSessionCheckScreen.mainText': 'Kimlik doğrulama sürecini başlatmak için',
5
- 'verificationSessionCheckScreen.enterSessionCode': 'Oturum Kodu Gir',
6
- 'verificationSessionCheckScreen.codeText': 'Lütfen aldığınız doğrulama kodunu giriniz.',
7
- 'verificationSessionCheckScreen.codeError': 'Girdiğiniz kod hatalı.',
4
+ 'verificationSessionCheckScreen.mainText': 'Kimlik doğrulama sürecini başlatın',
5
+ 'verificationSessionCheckScreen.enterSessionCode': 'Oturum Kodunu Girin',
6
+ 'verificationSessionCheckScreen.codeText': 'Doğrulama kodunu girin',
7
+ 'verificationSessionCheckScreen.codeError': 'Girdiğiniz doğrulama kodu hatalı.',
8
8
  'verificationSessionCheckScreen.sendCodeAgain': 'Kodu Tekrar Gönder',
9
- 'verificationSessionCheckScreen.cannotSendVerificationCode': 'Doğrulama kodu gönderilemedi.',
10
- 'verificationSessionCheckScreen.noVerificationSessionFound': 'Geçerli bir doğrulama oturumu bulunamadı. Oturumun süresi dolmuş veya zaten tamamlanmış olabilir.',
11
- 'verificationSessionCheckScreen.scanQRCode': 'QR Kodu Tara',
9
+ 'verificationSessionCheckScreen.cannotSendVerificationCode': 'Doğrulama kodu gönderilemedi. Lütfen tekrar deneyin.',
10
+ 'verificationSessionCheckScreen.noVerificationSessionFound': 'Oturum bulunamadı veya süresi doldu',
11
+ 'verificationSessionCheckScreen.scanQRCode': 'QR Kodu Tarayın',
12
12
  'verificationSessionCheckScreen.or': 'veya',
13
13
  'general.warning': 'Uyarı',
14
14
  'general.error': 'Hata',
15
15
  'general.yes': 'Evet',
16
16
  'general.no': 'Hayır',
17
- 'general.letsGo': 'Hadi Başlayalım',
18
- 'general.noCameraPermissionGiven': 'Kamera izni verilmemiş. Yanlışlıkla reddettiyseniz, lütfen uygulama ayarlarından izni etkinleştirin veya uygulamayı yeniden yükleyin.',
19
- 'general.noMicrophonePermissionGiven': 'Mikrofon izni verilmemiş. Yanlışlıkla reddettiyseniz, lütfen uygulama ayarlarından izni etkinleştirin veya uygulamayı yeniden yükleyin.',
20
- 'general.noCameraDetected': 'Kamera donanımı algılanamadı. Lütfen farklı bir cihaz kullanın.',
17
+ 'general.letsGo': 'Başla',
18
+ 'general.noCameraPermissionGiven': 'Kamera erişimi gereklidir. Lütfen cihaz ayarlarından kamera iznini etkinleştirin.',
19
+ 'general.noMicrophonePermissionGiven': 'Mikrofon erişimi gereklidir. Lütfen cihaz ayarlarından mikrofon iznini etkinleştirin.',
20
+ 'general.noCameraDetected': 'Bu cihazda kamera donanımı mevcut değil',
21
21
  'general.openSettings': 'Ayarları Aç',
22
- 'general.countryNotAllowed': 'Taranan belgenin ait olduğu ülke, kimlik doğrulama için desteklenmiyor.',
23
- 'general.documentTypeNotAllowed': 'Taranan belge türü, kimlik doğrulama için desteklenmiyor.',
24
- 'termsOfUseAndDataPrivacyScreen.footerText': 'Lütfen yukarıdaki metni okuyun ve kabul etmek için sonuna kadar kaydırın.',
25
- 'termsOfUseAndDataPrivacyScreen.footerTextSRO': "Artık 'Kabul Et ve Devam Et' düğmesine basabilirsiniz.",
22
+ 'general.countryNotAllowed': 'Bu ülkeye ait belgeler desteklenmiyor',
23
+ 'general.documentTypeNotAllowed': 'Bu belge türü desteklenmiyor',
24
+ 'termsOfUseAndDataPrivacyScreen.footerText': 'Lütfen metni okuyun ve kabul etmek için kaydırın',
25
+ 'termsOfUseAndDataPrivacyScreen.footerTextSRO': 'Devam etmek için Kabul Et ve Devam Et’e basın',
26
26
  'termsOfUseAndDataPrivacyScreen.acceptAndContinue': 'Kabul Et ve Devam Et',
27
- 'resultScreen.submitting': 'Doğrulama verileri gönderiliyor...',
28
- 'resultScreen.submissionFailed': 'Doğrulama işlemi sırasında bir hata oluştu. Lütfen daha sonra tekrar deneyin.',
29
- 'resultScreen.submissionSuccessful': 'Doğrulama verileri başarıyla gönderildi. Bilgileriniz incelenecek ve sonuç en kısa sürede size bildirilecektir.',
27
+ 'resultScreen.submitting': 'Bilgileriniz gönderiliyor...',
28
+ 'resultScreen.submissionFailed': 'Bir hata oluştu. Lütfen daha sonra tekrar deneyin.',
29
+ 'resultScreen.submissionSuccessful': 'Bilgileriniz güvenle gönderilmiştir. Doğrulama sonucu kısa süre içinde size bildirilecektir.',
30
30
  'resultScreen.thankYou': 'Teşekkürler!',
31
31
  'resultScreen.demo': 'Demo',
32
- 'resultScreen.demoDescription': 'Demo sırasında toplanan verileri gösterir.',
32
+ 'resultScreen.demoDescription': 'Demo verilerini göster',
33
33
  'resultScreen.demoDeviceIdentifier': 'Cihaz Tanımlayıcısı',
34
34
  'resultScreen.demoScannedDocument': 'Taranan Belge',
35
35
  'resultScreen.demoScannedDocumentInformation': 'Bilgiler',
@@ -41,36 +41,31 @@ export default {
41
41
  'resultScreen.demoImageHologram': 'Hologram',
42
42
  'resultScreen.demoLivenessDetection': 'Canlılık Tespiti',
43
43
  'resultScreen.demoVideo': 'Video',
44
- 'resultScreen.demoInstruction_smile': 'Gülümseyin',
45
- 'resultScreen.demoInstruction_look_straight_and_blink': 'Düz bakın ve göz kırpın',
46
- 'resultScreen.demoInstruction_turn_head_left': 'Başınızı sola çevirin',
47
- 'resultScreen.demoInstruction_turn_head_right': 'Başınızı sağa çevirin',
48
- 'resultScreen.demoInstruction_look_up': 'Yukarı bakın',
49
44
  'resultScreen.demoStartOver': 'Baştan Başla',
50
- 'livenessDetectionScreen.guideHeader': 'Yüz Taraması İçin Hazırlanın',
51
- 'livenessDetectionScreen.guideText': 'Başlamadan önce lütfen aşağıdaki hususlara dikkat edin:',
52
- 'livenessDetectionScreen.guidePoint1': 'Gözlük, şapka veya eşarp takmayın. Lütfen uygun şekilde giyindiğinizden emin olun',
53
- 'livenessDetectionScreen.guidePoint2': 'Yüzünüzün iyi aydınlatıldığından emin olun',
54
- 'livenessDetectionScreen.guidePoint3': 'Arka plan gürültüsünü minimize edin',
55
- 'livenessDetectionScreen.guidePoint4': 'Kameranın önünde yalnızca sizin bulunduğunuzdan emin olun',
56
- 'livenessDetectionScreen.placeFaceInsideCircle': 'Lütfen yüzünüzü daire içine konumlandırın.',
57
- 'livenessDetectionScreen.multipleFacesDetected': 'Birden fazla yüz algılandı. Lütfen kameranın önünde yalnızca sizin bulunduğunuzdan emin olun.',
58
- 'livenessDetectionScreen.start': 'Yüzünüzü daire içinde tutun',
59
- 'livenessDetectionScreen.smile': 'Gülümseyin',
60
- 'livenessDetectionScreen.lookStraightAndBlink': 'Kameraya bakın ve göz kırpın',
45
+ 'livenessDetectionScreen.guideHeader': 'Yüz Doğrulaması',
46
+ 'livenessDetectionScreen.guideText': 'En iyi sonuç için lütfen şunları sağlayın:',
47
+ 'livenessDetectionScreen.guidePoint1': 'Gözlük, şapka veya yüz aksesuarlarını çıkarın',
48
+ 'livenessDetectionScreen.guidePoint2': 'İyi aydınlatılmış bir ortamda bulunun',
49
+ 'livenessDetectionScreen.guidePoint3': 'Sessiz bir ortam seçin',
50
+ 'livenessDetectionScreen.guidePoint4': 'Çerçevede yalnızca yüzünüz görünsün',
51
+ 'livenessDetectionScreen.placeFaceInsideCircle': 'Lütfen yüzünüzü daire içine konumlandırın',
52
+ 'livenessDetectionScreen.multipleFacesDetected': 'Birden fazla yüz algılandı. Lütfen yalnız olduğunuzdan emin olun.',
53
+ 'livenessDetectionScreen.start': 'Yüzünüzü dairede tutun',
54
+ 'livenessDetectionScreen.smile': 'Kameraya bakın ve gülümseyin',
55
+ 'livenessDetectionScreen.lookStraightAndBlink': 'Kameraya bakın ve gözlerinizi kırpın',
61
56
  'livenessDetectionScreen.turnHeadLeft': 'Başınızı sola çevirin',
62
57
  'livenessDetectionScreen.turnHeadRight': 'Başınızı sağa çevirin',
63
58
  'livenessDetectionScreen.lookUp': 'Yukarı bakın',
64
- 'livenessDetectionScreen.sayNumber': 'Rakamı söyleyin: {number}',
65
- 'livenessDetectionScreen.finish': 'İşlem tamamlandı',
66
- 'livenessDetectionScreen.brightnessLow': 'Lütfen yüzünüzün iyi aydınlatıldığından emin olun.',
59
+ 'livenessDetectionScreen.sayNumber': 'Lütfen bu numarayı söyleyin: {number}',
60
+ 'livenessDetectionScreen.finish': 'Tamamlandı',
61
+ 'livenessDetectionScreen.brightnessLow': 'Aydınlatma yetersiz. Lütfen daha iyi aydınlatılmış bir ortam sağlayın.',
67
62
  'livenessDetectionScreen.faceTooBig': 'Çok yakınsınız. Lütfen biraz geriye çekilin.',
68
- 'livenessDetectionScreen.followInstructions': 'Cihazınızı sabit tutun ve talimatları uygulayın.',
69
- 'eidScannerScreen.guideHeader': 'NFC Taraması İçin Hazırlanın',
70
- 'eidScannerScreen.guideText': 'Taramayı başlattıktan sonra, kimlik belgenizi cihazınızın arkasındaki NFC okuyucuya yaklaştırın ve okuma tamamlanana kadar bekleyin.',
71
- 'eidScannerScreen.invalidMRZFields': 'Kimlik bilgileri eksik veya hatalı. Lütfen tekrar deneyin.',
72
- 'eidScannerScreen.imageCannotBeShown': 'Fotoğraf bulundu ancak gösterilemiyor.',
73
- 'eidScannerScreen.faceImageNotFound': 'Fotoğraf bulunamadı.',
63
+ 'livenessDetectionScreen.followInstructions': 'Lütfen cihazı sabit tutun ve talimatları izleyin',
64
+ 'eidScannerScreen.guideHeader': 'NFC Belge Taraması',
65
+ 'eidScannerScreen.guideText': 'İstendiğinde, belgenizi cihazınızın arka tarafındaki NFC antenine düz bir şekilde yaklaştırın.',
66
+ 'eidScannerScreen.invalidMRZFields': 'Belge bilgileri okunamadı. Lütfen tekrar deneyin.',
67
+ 'eidScannerScreen.imageCannotBeShown': 'Fotoğraf verisi bulundu ancak gösterilemiyor.',
68
+ 'eidScannerScreen.faceImageNotFound': 'Belgede fotoğraf verisi bulunamadı.',
74
69
  'eidScannerScreen.documentCode': 'Belge Kodu',
75
70
  'eidScannerScreen.nationality': 'Uyruk',
76
71
  'eidScannerScreen.personalNumber': 'Vatandaşlık No',
@@ -81,57 +76,61 @@ export default {
81
76
  'eidScannerScreen.gender': 'Cinsiyet',
82
77
  'eidScannerScreen.expirationDate': 'Geçerlilik Tarihi',
83
78
  'eidScannerScreen.mrzText': 'MRZ Metni',
84
- 'eidScannerScreen.nfcNotSupported': 'Cihazınız NFC desteklemiyor. Lütfen farklı bir cihaz kullanın.',
85
- 'eidScannerScreen.nfcNotEnabled': 'NFC etkin değil. Lütfen etkinleştirin ve tekrar deneyin.',
79
+ 'eidScannerScreen.nfcNotSupported': 'Bu cihaz NFC işlevini desteklememektedir.',
80
+ 'eidScannerScreen.nfcNotEnabled': 'Cihazda NFC devre dışı. Lütfen ayarlardan etkinleştirin.',
86
81
  'eidScannerScreen.enableNFC': "NFC'yi Etkinleştir",
87
82
  'eidScannerScreen.startScanning': 'Taramaya Başla',
88
- 'eidScannerScreen.placeIDCardOnNFC': 'Lütfen kimlik belgenizi cihazınızın arka kısmındaki NFC okuyucuya yaklaştırın ve bekleyin.',
89
- 'eidScannerScreen.placePassportOnNFC': 'Lütfen kimlik belgenizi cihazınızın arka kısmındaki NFC okuyucuya yaklaştırın ve bekleyin.',
90
- 'eidScannerScreen.placeDocumentOnNFC': 'Lütfen kimlik belgenizi cihazınızın arka kısmındaki NFC okuyucuya yaklaştırın ve bekleyin.',
91
- 'eidScannerScreen.readingDocument': 'Lütfen sabit tutun ve okuma işlemi tamamlanana kadar bekleyin.',
92
- 'eidScannerScreen.checkYourInformation': "Lütfen bilgilerinizi kontrol edin. Devam etmek için 'Onayla ve Devam Et' düğmesine basın.",
83
+ 'eidScannerScreen.placeIDCardOnNFC': 'Kimlik kartınızı NFC okuyucuya yaklaştırın',
84
+ 'eidScannerScreen.placePassportOnNFC': 'Pasaportunuzu NFC okuyucuya yaklaştırın',
85
+ 'eidScannerScreen.placeDocumentOnNFC': 'Belgenizi NFC okuyucuya yaklaştırın',
86
+ 'eidScannerScreen.readingDocument': 'Sabit tutun - Belge okunuyor',
87
+ 'eidScannerScreen.checkYourInformation': 'Bilgilerinizi dikkatle kontrol edin',
93
88
  'eidScannerScreen.approveAndContinue': 'Onayla ve Devam Et',
94
- 'eidScannerScreen.connecting': 'Çipe bağlanılıyor...',
89
+ 'eidScannerScreen.connecting': 'Güvenli bağlantı kuruluyor...',
95
90
  'eidScannerScreen.readingMRZ': 'Belge bilgileri okunuyor...',
96
- 'eidScannerScreen.readingFaceImage': 'Fotoğraf okunuyor...',
97
- 'eidScannerScreen.completing': 'Tarama tamamlanıyor...',
91
+ 'eidScannerScreen.readingFaceImage': 'Fotoğraf verisi okunuyor...',
92
+ 'eidScannerScreen.completing': 'Doğrulama tamamlanıyor...',
98
93
  'eidScannerScreen.progress': 'İlerleme',
99
- 'identityDocumentCamera.guideHeader': 'Kimlik Belgeniz Hazır Mı?',
100
- 'identityDocumentCamera.guideText': 'Başlamadan önce lütfen aşağıdaki hususlara dikkat edin:',
101
- 'identityDocumentCamera.guidePoint1': 'Belge açık ve okunaklı olmalı',
102
- 'identityDocumentCamera.guidePoint2': 'Ortamınızın iyi aydınlatıldığından emin olun',
103
- 'identityDocumentCamera.guidePoint3': 'Belge üzerinde yansıma veya parlama olmamasına dikkat edin',
104
- 'identityDocumentCamera.lowBrightness': 'Lütfen ortam ışığını artırın veya daha iyi aydınlatılmış bir ortama geçin.',
105
- 'identityDocumentCamera.alignPhotoSide': 'Lütfen kimlik belgenizin fotoğraflı yüzünü kameraya hizalayın.',
106
- 'identityDocumentCamera.alignHologram': 'Lütfen belgenizdeki hologramı farklı açılardan kameraya gösterin.',
107
- 'identityDocumentCamera.alignIDFrontSide': 'Kimlik belgenizin ön yüzünü kameraya hizalayın.',
108
- 'identityDocumentCamera.alignIDBackSide': 'Kimlik belgenizin arka yüzünü kameraya hizalayın.',
109
- 'identityDocumentCamera.scanCompleted': 'Tarama başarıyla tamamlandı.',
94
+ 'identityDocumentCamera.guideHeader': 'Belge Taraması',
95
+ 'identityDocumentCamera.guideText': 'En iyi sonuç için lütfen şunları sağlayın:',
96
+ 'identityDocumentCamera.guidePoint1': 'Belgeyi düz, koyu bir zemin üzerine yerleştirin',
97
+ 'identityDocumentCamera.guidePoint2': 'Yansıma olmadan yeterli ışık kullanın',
98
+ 'identityDocumentCamera.guidePoint3': 'Belgeyi çerçeve içinde tutun',
99
+ 'identityDocumentCamera.lowBrightness': 'Aydınlatma yetersiz. Lütfen daha aydınlık bir yere gidin.',
100
+ 'identityDocumentCamera.alignPhotoSide': 'Fotoğraflı yüzü gösterin',
101
+ 'identityDocumentCamera.alignHologram': 'Belgenizi yavaşça eğin',
102
+ 'identityDocumentCamera.alignIDFrontSide': 'Kimlik kartınızın ön yüzünü hizalayın',
103
+ 'identityDocumentCamera.alignIDBackSide': 'Kimlik kartınızın arka yüzünü hizalayın',
104
+ 'identityDocumentCamera.scanCompleted': 'Tarama tamamlandı!',
110
105
  'identityDocumentCamera.frontSideScanned': 'Ön yüz tarandı!',
111
106
  'identityDocumentCamera.passportScanned': 'Pasaport tarandı!',
112
107
  'identityDocumentCamera.backSideScanned': 'Arka yüz tarandı!',
113
- 'identityDocumentCamera.hologramVerified': 'Tarandı!',
114
- 'identityDocumentCamera.searchingDocument': 'Belgenizi çerçeve içine konumlandırın',
115
- 'identityDocumentCamera.faceDetected': 'Fotoğraf algılandı! Sabit tutun...',
108
+ 'identityDocumentCamera.hologramVerified': 'Hologram doğrulandı!',
109
+ 'identityDocumentCamera.searchingDocument': 'Belgeyi çerçeve içine yerleştirin',
110
+ 'identityDocumentCamera.faceDetected': 'Cihazı sabit tutun...',
116
111
  'identityDocumentCamera.readingDocument': 'Belge okunuyor...',
117
- 'identityDocumentCamera.processing': 'İşleniyor...',
118
- 'identityDocumentCamera.stepProgress': 'Adım {{current}} / {{total}}',
119
- 'identityDocumentCamera.frontSide': 'Ön Yüz',
120
- 'identityDocumentCamera.backSide': 'Arka Yüz',
121
- 'identityDocumentCamera.hologramCheck': 'Hologram Doğrulama',
122
- 'identityDocumentCamera.keepSteady': 'Belgeyi sabit tutun',
123
- 'identityDocumentCamera.avoidBlur': 'Sabit tutun veya yeniden odaklamak için belgeyi uzaklaştırın',
124
- 'identityDocumentCamera.wrongSideFront': 'Yanlış yüz! Lütfen ön yüzü gösterin',
125
- 'identityDocumentCamera.wrongSideBack': 'Yanlış yüz! Lütfen arka yüze çevirin',
112
+ 'identityDocumentCamera.processing': 'Belge işleniyor...',
113
+ 'identityDocumentCamera.stepProgress': '{{current}}/{{total}}',
114
+ 'identityDocumentCamera.frontSide': 'Ön',
115
+ 'identityDocumentCamera.backSide': 'Arka',
116
+ 'identityDocumentCamera.hologramCheck': 'Hologram',
117
+ 'identityDocumentCamera.keepSteady': 'Cihazı sabit tutun',
118
+ 'identityDocumentCamera.avoidBlur': 'Cihazı sabit tutun',
119
+ 'identityDocumentCamera.wrongSideFront': 'Belgenizin ön yüzünü gösterin',
120
+ 'identityDocumentCamera.wrongSideBack': 'Belgenizin arka yüzünü gösterin',
126
121
  'identityDocumentCamera.idCardDetected': 'Kimlik kartı algılandı',
127
- 'identityDocumentCamera.idCardFrontDetected': 'Kimlik kartı ön yüzü algılandı! Sabit tutun...',
128
- 'identityDocumentCamera.passportDetected': 'Pasaport algılandı! Sabit tutun...',
129
- 'identityDocumentCamera.moveCloser': 'Belgeye daha yakın gelin',
130
- 'identityDocumentCamera.moveFarther': 'Belgeden daha uzaklaşın',
131
- 'identityDocumentCamera.documentTooSmall': 'Belge çok küçük - yaklaşın',
132
- 'identityDocumentCamera.documentTooLarge': 'Belge çok büyük - uzaklaşın',
133
- 'identityDocumentCamera.holdSteady': 'Sabit tutun',
122
+ 'identityDocumentCamera.idCardFrontDetected': 'Cihazı sabit tutun...',
123
+ 'identityDocumentCamera.idCardBackDetected': 'Cihazı sabit tutun...',
124
+ 'identityDocumentCamera.passportDetected': 'Cihazı sabit tutun...',
125
+ 'identityDocumentCamera.alignIDFront': 'Kimlik kartınızın ön yüzünü hizalayın',
126
+ 'identityDocumentCamera.alignIDBack': 'Kimlik kartınızın arka yüzünü hizalayın',
127
+ 'identityDocumentCamera.alignPassport': 'Pasaportu hizalayın',
128
+ 'identityDocumentCamera.moveCloser': 'Lütfen yaklaşın',
129
+ 'identityDocumentCamera.moveFarther': 'Lütfen uzaklaşın',
130
+ 'identityDocumentCamera.documentTooSmall': 'Belge çok uzak. Yaklaşın.',
131
+ 'identityDocumentCamera.documentTooLarge': 'Belge çok yakın. Uzaklaşın.',
132
+ 'identityDocumentCamera.holdSteady': 'Cihazı sabit tutun',
134
133
  'identityDocumentCamera.centerDocument': 'Belgeyi çerçevede ortalayın',
135
- 'navigationManager.skipStepWarning': 'Bu adımı tamamlamanız önerilir. Adımı atlamak istediğinize emin misiniz?',
134
+ 'navigationManager.skipStepWarning': 'Başarılı bir doğrulama için bu adımı tamamlamanız önerilir. Yine de atlamak istiyor musunuz?',
136
135
  'navigationManager.skipStepLabel': 'Bu Adımı Atla'
137
136
  };
@@ -7,6 +7,7 @@ import { View, ActivityIndicator, StyleSheet } from 'react-native';
7
7
  import { SafeAreaProvider } from 'react-native-safe-area-context';
8
8
  import 'react-native-get-random-values';
9
9
  import { ThemeProvider } from "./Shared/Contexts/ThemeContext.js";
10
+ import { setDebugMode, setLogLevel, logWarn } from "./Shared/Libs/debug.utils.js";
10
11
  import IdentityDocumentEIDScanningScreen from "./Screens/Dynamic/IdentityDocumentEIDScanningScreen.js";
11
12
  import IdentityDocumentScanningScreen from "./Screens/Dynamic/IdentityDocumentScanningScreen.js";
12
13
  import LivenessDetectionScreen from "./Screens/Dynamic/LivenessDetectionScreen.js";
@@ -36,7 +37,9 @@ const Trustchex = ({
36
37
  locale: propLocale,
37
38
  onCompleted,
38
39
  onError,
39
- enableAnalytics = true
40
+ enableAnalytics = true,
41
+ debug = false,
42
+ logLevel = 'trace'
40
43
  }) => {
41
44
  const [baseUrl, setBaseUrl] = useState(null);
42
45
  const [sessionId, setSessionId] = useState(null);
@@ -84,10 +87,14 @@ const Trustchex = ({
84
87
  source: 'sdk_init'
85
88
  });
86
89
  }).catch(error => {
87
- console.warn('[Trustchex] Failed to initialize analytics:', error);
90
+ logWarn('[Trustchex] Failed to initialize analytics:', error);
88
91
  });
89
92
  }
90
93
  }, [enableAnalytics, baseUrl, sessionId, analyticsInitialized]);
94
+ useEffect(() => {
95
+ setDebugMode(debug);
96
+ setLogLevel(logLevel);
97
+ }, [debug, logLevel]);
91
98
  useEffect(() => {
92
99
  initializeTTS();
93
100
  }, []);
@@ -3,6 +3,7 @@
3
3
  import Trustchex from "./Trustchex.js";
4
4
  export { handleDeepLink } from "./Shared/Libs/deeplink.utils.js";
5
5
  export { analyticsService } from "./Shared/Services/AnalyticsService.js";
6
+ export { LogLevel, setDebugMode, setLogLevel, isDebugEnabled, getLogLevel, traceLog, debugLog, infoLog, debugWarn, debugError, logError, logWarn } from "./Shared/Libs/debug.utils.js";
6
7
  export { trackScreenView, trackScreenExit, trackButtonClick, trackError, trackErrorWithDetails, trackApiCall, trackVerificationStart, trackVerificationComplete, trackConsentGiven, trackSessionStart, trackSessionEnd, trackNFCScanStart, trackNFCScanComplete, trackNFCScanFailed, trackFunnelStep, trackStepAbandoned, trackStepSkipped, useScreenTracking } from "./Shared/Libs/analytics.utils.js";
7
8
  export { AnalyticsEventCategory, AnalyticsEventName, ErrorCategory } from "./Shared/Types/analytics.types.js";
8
9
  export default Trustchex;
@@ -2,4 +2,4 @@
2
2
 
3
3
  // This file is auto-generated. Do not edit manually.
4
4
  // Version is synced from package.json during build.
5
- export const SDK_VERSION = '1.355.1';
5
+ export const SDK_VERSION = '1.357.0';
@@ -1 +1 @@
1
- {"version":3,"file":"IdentityDocumentEIDScanningScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Dynamic/IdentityDocumentEIDScanningScreen.tsx"],"names":[],"mappings":"AAoBA,QAAA,MAAM,iCAAiC,+CAoMtC,CAAC;AAoBF,eAAe,iCAAiC,CAAC"}
1
+ {"version":3,"file":"IdentityDocumentEIDScanningScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Dynamic/IdentityDocumentEIDScanningScreen.tsx"],"names":[],"mappings":"AAoBA,QAAA,MAAM,iCAAiC,+CAsMtC,CAAC;AAoBF,eAAe,iCAAiC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"IdentityDocumentScanningScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Dynamic/IdentityDocumentScanningScreen.tsx"],"names":[],"mappings":"AAoBA,QAAA,MAAM,8BAA8B,+CAmJnC,CAAC;AAgBF,eAAe,8BAA8B,CAAC"}
1
+ {"version":3,"file":"IdentityDocumentScanningScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Dynamic/IdentityDocumentScanningScreen.tsx"],"names":[],"mappings":"AAoBA,QAAA,MAAM,8BAA8B,+CAkJnC,CAAC;AAgBF,eAAe,8BAA8B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LivenessDetectionScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Dynamic/LivenessDetectionScreen.tsx"],"names":[],"mappings":"AAmFA,QAAA,MAAM,uBAAuB,+CAmiB5B,CAAC;AAwGF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"LivenessDetectionScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Dynamic/LivenessDetectionScreen.tsx"],"names":[],"mappings":"AA+EA,QAAA,MAAM,uBAAuB,+CAq1B5B,CAAC;AAoFF,eAAe,uBAAuB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OTPVerificationScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Static/OTPVerificationScreen.tsx"],"names":[],"mappings":"AA6CA,QAAA,MAAM,qBAAqB,+CA8P1B,CAAC;AA+EF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"OTPVerificationScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Static/OTPVerificationScreen.tsx"],"names":[],"mappings":"AA6CA,QAAA,MAAM,qBAAqB,+CAoQ1B,CAAC;AA+EF,eAAe,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QrCodeScanningScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Static/QrCodeScanningScreen.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,oBAAoB,+CA6BzB,CAAC;AASF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"QrCodeScanningScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Static/QrCodeScanningScreen.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,oBAAoB,+CAoCzB,CAAC;AASF,eAAe,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ResultScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Static/ResultScreen.tsx"],"names":[],"mappings":"AAkDA,QAAA,MAAM,YAAY,+CAqzBjB,CAAC;AAoIF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ResultScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Static/ResultScreen.tsx"],"names":[],"mappings":"AAkDA,QAAA,MAAM,YAAY,+CAq2BjB,CAAC;AAoIF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"VerificationSessionCheckScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Static/VerificationSessionCheckScreen.tsx"],"names":[],"mappings":"AAiDA,QAAA,MAAM,8BAA8B,+CAwSnC,CAAC;AAiHF,eAAe,8BAA8B,CAAC"}
1
+ {"version":3,"file":"VerificationSessionCheckScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Static/VerificationSessionCheckScreen.tsx"],"names":[],"mappings":"AAiDA,QAAA,MAAM,8BAA8B,+CAyUnC,CAAC;AAiHF,eAAe,8BAA8B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DebugNavigationPanel.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/DebugNavigationPanel.tsx"],"names":[],"mappings":"AAkCA,QAAA,MAAM,oBAAoB,+CAkIzB,CAAC;AAiGF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"DebugNavigationPanel.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/DebugNavigationPanel.tsx"],"names":[],"mappings":"AAqCA,QAAA,MAAM,oBAAoB,+CA2UzB,CAAC;AAqJF,eAAe,oBAAoB,CAAC"}
@@ -1,10 +1,10 @@
1
- import type { FieldRecords } from 'mrz';
1
+ import type { MRZFields } from '../Types/mrzFields';
2
2
  interface eIDScannerProps {
3
3
  documentNumber: string;
4
4
  dateOfBirth: string;
5
5
  dateOfExpiry: string;
6
6
  documentType?: string;
7
- onScanSuccess?: (mrzInfo: FieldRecords, faceImage: string, faceImageMimeType: string) => void;
7
+ onScanSuccess?: (mrzInfo: MRZFields, faceImage: string, faceImageMimeType: string) => void;
8
8
  isNFCSupported?: (supported: boolean) => void;
9
9
  }
10
10
  declare const EIDScanner: ({ documentNumber, dateOfBirth, dateOfExpiry, documentType, onScanSuccess, isNFCSupported, }: eIDScannerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"EIDScanner.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/EIDScanner.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AAaxC,UAAU,eAAe;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CACd,OAAO,EAAE,YAAY,EACrB,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,MAAM,KACtB,IAAI,CAAC;IACV,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,UAAU,GAAI,6FAOjB,eAAe,4CAojBjB,CAAC;AAwHF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"EIDScanner.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/EIDScanner.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAcpD,UAAU,eAAe;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CACd,OAAO,EAAE,SAAS,EAClB,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,MAAM,KACtB,IAAI,CAAC;IACV,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,UAAU,GAAI,6FAOjB,eAAe,4CA0nBjB,CAAC;AA+HF,eAAe,UAAU,CAAC"}