@trustchex/react-native-sdk 1.162.7 → 1.163.2

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.
package/README.md CHANGED
@@ -63,11 +63,14 @@ module.exports = {
63
63
  ```xml
64
64
  <!-- Permissions -->
65
65
  <key>NSCameraUsageDescription</key>
66
- <string>Camera access for document scanning and selfie capture</string>
66
+ <string>The app captures images of your ID, passport, and face, and records a video for
67
+ secure identity verification and ensure compliance with KYC regulations.</string>
67
68
  <key>NSMicrophoneUsageDescription</key>
68
- <string>Microphone access for video recording during verification</string>
69
+ <string>The app records a video with audio for secure identity verification and ensure
70
+ compliance with KYC regulations.</string>
69
71
  <key>NFCReaderUsageDescription</key>
70
- <string>NFC access to read electronic ID cards</string>
72
+ <string>The app securely reads ID or passport data using NFC to verify your identity and
73
+ ensure compliance with KYC regulations.</string>
71
74
 
72
75
  <!-- NFC Configuration -->
73
76
  <key>com.apple.developer.nfc.readersession.formats</key>
@@ -16,10 +16,12 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/**/*.{h,m,mm,cpp,swift}"
17
17
  s.private_header_files = "ios/**/*.h"
18
18
 
19
- # ML Kit dependencies for text recognition
20
- s.dependency "GoogleMLKit/TextRecognition"
21
- # ML Kit Face Detection dependency
22
- s.dependency "GoogleMLKit/FaceDetection"
19
+ # ML Kit dependencies
20
+ s.dependency "MLKitTextRecognition", "7.0.0"
21
+ s.dependency "MLKitBarcodeScanning", "8.0.0"
22
+ s.dependency "MLKitFaceDetection", "8.0.0"
23
+
24
+ # Camera dependency
23
25
  s.dependency "VisionCamera"
24
26
 
25
27
  install_modules_dependencies(s)
@@ -83,13 +83,9 @@ dependencies {
83
83
  implementation "androidx.camera:camera-camera2:1.4.0"
84
84
  implementation "androidx.camera:camera-lifecycle:1.4.0"
85
85
 
86
- // Google ML Kit Text Recognition dependencies
86
+ // Google ML Kit dependencies
87
87
  implementation 'com.google.mlkit:text-recognition:16.0.1'
88
-
89
- // Google ML Kit Face Detection dependency
90
88
  implementation 'com.google.mlkit:face-detection:16.1.7'
91
-
92
- // Google ML Kit Barcode Scanning dependency
93
89
  implementation 'com.google.mlkit:barcode-scanning:17.3.0'
94
90
 
95
91
  // Google Play Services dependency for Tasks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustchex/react-native-sdk",
3
- "version": "1.162.7",
3
+ "version": "1.163.2",
4
4
  "description": "Trustchex mobile app react native SDK for android or ios devices",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",