@finos_sdk/sdk-ekyc 0.0.29 → 0.0.31

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 (80) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +241 -44
  3. package/android/SDKeKYC/finos/sdk/ekyc/c06/{1.1.9/c06-1.1.9-javadoc.jar → 1.2.0/c06-1.2.0-javadoc.jar} +0 -0
  4. package/android/SDKeKYC/finos/sdk/ekyc/c06/1.2.0/c06-1.2.0-sources.jar +0 -0
  5. package/android/SDKeKYC/finos/sdk/ekyc/c06/1.2.0/c06-1.2.0.aar +0 -0
  6. package/android/SDKeKYC/finos/sdk/ekyc/c06/{1.1.9/c06-1.1.9.module → 1.2.0/c06-1.2.0.module} +31 -31
  7. package/android/SDKeKYC/finos/sdk/ekyc/c06/{1.1.9/c06-1.1.9.pom → 1.2.0/c06-1.2.0.pom} +3 -3
  8. package/android/SDKeKYC/finos/sdk/ekyc/c06/maven-metadata-local.xml +4 -4
  9. package/android/SDKeKYC/finos/sdk/ekyc/ekyc/{1.1.9/ekyc-1.1.9-javadoc.jar → 1.2.0/ekyc-1.2.0-javadoc.jar} +0 -0
  10. package/android/SDKeKYC/finos/sdk/ekyc/ekyc/1.2.0/ekyc-1.2.0-sources.jar +0 -0
  11. package/android/SDKeKYC/finos/sdk/ekyc/ekyc/1.2.0/ekyc-1.2.0.aar +0 -0
  12. package/android/SDKeKYC/finos/sdk/ekyc/ekyc/{1.1.9/ekyc-1.1.9.module → 1.2.0/ekyc-1.2.0.module} +44 -44
  13. package/android/SDKeKYC/finos/sdk/ekyc/ekyc/{1.1.9/ekyc-1.1.9.pom → 1.2.0/ekyc-1.2.0.pom} +9 -9
  14. package/android/SDKeKYC/finos/sdk/ekyc/ekyc/maven-metadata-local.xml +4 -4
  15. package/android/SDKeKYC/finos/sdk/ekyc/faceservice/{1.1.9/faceservice-1.1.9-javadoc.jar → 1.2.0/faceservice-1.2.0-javadoc.jar} +0 -0
  16. package/android/SDKeKYC/finos/sdk/ekyc/faceservice/1.2.0/faceservice-1.2.0-sources.jar +0 -0
  17. package/android/SDKeKYC/finos/sdk/ekyc/faceservice/1.2.0/faceservice-1.2.0.aar +0 -0
  18. package/android/SDKeKYC/finos/sdk/ekyc/faceservice/{1.1.9/faceservice-1.1.9.module → 1.2.0/faceservice-1.2.0.module} +31 -31
  19. package/android/SDKeKYC/finos/sdk/ekyc/faceservice/{1.1.9/faceservice-1.1.9.pom → 1.2.0/faceservice-1.2.0.pom} +3 -3
  20. package/android/SDKeKYC/finos/sdk/ekyc/faceservice/maven-metadata-local.xml +4 -4
  21. package/android/SDKeKYC/finos/sdk/ekyc/liveness/{1.1.9/liveness-1.1.9-javadoc.jar → 1.2.0/liveness-1.2.0-javadoc.jar} +0 -0
  22. package/android/SDKeKYC/finos/sdk/ekyc/liveness/1.2.0/liveness-1.2.0-sources.jar +0 -0
  23. package/android/SDKeKYC/finos/sdk/ekyc/liveness/{1.1.9/liveness-1.1.9.aar → 1.2.0/liveness-1.2.0.aar} +0 -0
  24. package/android/SDKeKYC/finos/sdk/ekyc/liveness/{1.1.9/liveness-1.1.9.module → 1.2.0/liveness-1.2.0.module} +33 -33
  25. package/android/SDKeKYC/finos/sdk/ekyc/liveness/{1.1.9/liveness-1.1.9.pom → 1.2.0/liveness-1.2.0.pom} +4 -4
  26. package/android/SDKeKYC/finos/sdk/ekyc/liveness/maven-metadata-local.xml +4 -4
  27. package/android/SDKeKYC/finos/sdk/ekyc/nfc/{1.1.9/nfc-1.1.9-javadoc.jar → 1.2.0/nfc-1.2.0-javadoc.jar} +0 -0
  28. package/android/SDKeKYC/finos/sdk/ekyc/nfc/1.2.0/nfc-1.2.0-sources.jar +0 -0
  29. package/android/SDKeKYC/finos/sdk/ekyc/nfc/1.2.0/nfc-1.2.0.aar +0 -0
  30. package/android/SDKeKYC/finos/sdk/ekyc/nfc/{1.1.9/nfc-1.1.9.module → 1.2.0/nfc-1.2.0.module} +32 -32
  31. package/android/SDKeKYC/finos/sdk/ekyc/nfc/{1.1.9/nfc-1.1.9.pom → 1.2.0/nfc-1.2.0.pom} +4 -4
  32. package/android/SDKeKYC/finos/sdk/ekyc/nfc/maven-metadata-local.xml +4 -4
  33. package/android/SDKeKYC/finos/sdk/ekyc/ocr/{1.1.9/ocr-1.1.9-javadoc.jar → 1.2.0/ocr-1.2.0-javadoc.jar} +0 -0
  34. package/android/SDKeKYC/finos/sdk/ekyc/ocr/1.2.0/ocr-1.2.0-sources.jar +0 -0
  35. package/android/SDKeKYC/finos/sdk/ekyc/ocr/1.2.0/ocr-1.2.0.aar +0 -0
  36. package/android/SDKeKYC/finos/sdk/ekyc/ocr/{1.1.9/ocr-1.1.9.module → 1.2.0/ocr-1.2.0.module} +33 -33
  37. package/android/SDKeKYC/finos/sdk/ekyc/ocr/{1.1.9/ocr-1.1.9.pom → 1.2.0/ocr-1.2.0.pom} +4 -4
  38. package/android/SDKeKYC/finos/sdk/ekyc/ocr/maven-metadata-local.xml +4 -4
  39. package/android/SDKeKYC/finos/sdk/ekyc/qrcode/{1.1.9/qrcode-1.1.9-javadoc.jar → 1.2.0/qrcode-1.2.0-javadoc.jar} +0 -0
  40. package/android/SDKeKYC/finos/sdk/ekyc/qrcode/1.2.0/qrcode-1.2.0.aar +0 -0
  41. package/android/SDKeKYC/finos/sdk/ekyc/qrcode/{1.1.9/qrcode-1.1.9.module → 1.2.0/qrcode-1.2.0.module} +28 -28
  42. package/android/SDKeKYC/finos/sdk/ekyc/qrcode/{1.1.9/qrcode-1.1.9.pom → 1.2.0/qrcode-1.2.0.pom} +4 -4
  43. package/android/SDKeKYC/finos/sdk/ekyc/qrcode/maven-metadata-local.xml +4 -4
  44. package/android/SDKeKYC/finos/sdk/ekyc/sdkcore/1.2.0/sdkcore-1.2.0-javadoc.jar +0 -0
  45. package/android/SDKeKYC/finos/sdk/ekyc/sdkcore/1.2.0/sdkcore-1.2.0-sources.jar +0 -0
  46. package/android/SDKeKYC/finos/sdk/ekyc/sdkcore/1.2.0/sdkcore-1.2.0.aar +0 -0
  47. package/android/SDKeKYC/finos/sdk/ekyc/sdkcore/{1.1.9/sdkcore-1.1.9.module → 1.2.0/sdkcore-1.2.0.module} +32 -32
  48. package/android/SDKeKYC/finos/sdk/ekyc/sdkcore/{1.1.9/sdkcore-1.1.9.pom → 1.2.0/sdkcore-1.2.0.pom} +3 -3
  49. package/android/SDKeKYC/finos/sdk/ekyc/sdkcore/maven-metadata-local.xml +4 -4
  50. package/android/SDKeKYC/finos/sdk/ekyc/sdkcorecamera/{1.1.9/sdkcorecamera-1.1.9-javadoc.jar → 1.2.0/sdkcorecamera-1.2.0-javadoc.jar} +0 -0
  51. package/android/SDKeKYC/finos/sdk/ekyc/sdkcorecamera/1.2.0/sdkcorecamera-1.2.0-sources.jar +0 -0
  52. package/android/SDKeKYC/finos/sdk/ekyc/sdkcorecamera/1.2.0/sdkcorecamera-1.2.0.aar +0 -0
  53. package/android/SDKeKYC/finos/sdk/ekyc/sdkcorecamera/{1.1.9/sdkcorecamera-1.1.9.module → 1.2.0/sdkcorecamera-1.2.0.module} +31 -31
  54. package/android/SDKeKYC/finos/sdk/ekyc/sdkcorecamera/{1.1.9/sdkcorecamera-1.1.9.pom → 1.2.0/sdkcorecamera-1.2.0.pom} +3 -3
  55. package/android/SDKeKYC/finos/sdk/ekyc/sdkcorecamera/maven-metadata-local.xml +4 -4
  56. package/android/build.gradle +24 -27
  57. package/android/gradle.properties +9 -2
  58. package/android/settings.gradle +3 -2
  59. package/android/src/main/build.gradle +32 -0
  60. package/dist/index.d.ts +5 -0
  61. package/dist/index.js +2 -0
  62. package/package.json +16 -7
  63. package/android/SDKeKYC/finos/sdk/ekyc/c06/1.1.9/c06-1.1.9-sources.jar +0 -0
  64. package/android/SDKeKYC/finos/sdk/ekyc/c06/1.1.9/c06-1.1.9.aar +0 -0
  65. package/android/SDKeKYC/finos/sdk/ekyc/ekyc/1.1.9/ekyc-1.1.9-sources.jar +0 -0
  66. package/android/SDKeKYC/finos/sdk/ekyc/ekyc/1.1.9/ekyc-1.1.9.aar +0 -0
  67. package/android/SDKeKYC/finos/sdk/ekyc/faceservice/1.1.9/faceservice-1.1.9-sources.jar +0 -0
  68. package/android/SDKeKYC/finos/sdk/ekyc/faceservice/1.1.9/faceservice-1.1.9.aar +0 -0
  69. package/android/SDKeKYC/finos/sdk/ekyc/liveness/1.1.9/liveness-1.1.9-sources.jar +0 -0
  70. package/android/SDKeKYC/finos/sdk/ekyc/nfc/1.1.9/nfc-1.1.9-sources.jar +0 -0
  71. package/android/SDKeKYC/finos/sdk/ekyc/nfc/1.1.9/nfc-1.1.9.aar +0 -0
  72. package/android/SDKeKYC/finos/sdk/ekyc/ocr/1.1.9/ocr-1.1.9-sources.jar +0 -0
  73. package/android/SDKeKYC/finos/sdk/ekyc/ocr/1.1.9/ocr-1.1.9.aar +0 -0
  74. package/android/SDKeKYC/finos/sdk/ekyc/qrcode/1.1.9/qrcode-1.1.9.aar +0 -0
  75. package/android/SDKeKYC/finos/sdk/ekyc/sdkcore/1.1.9/sdkcore-1.1.9-javadoc.jar +0 -0
  76. package/android/SDKeKYC/finos/sdk/ekyc/sdkcore/1.1.9/sdkcore-1.1.9-sources.jar +0 -0
  77. package/android/SDKeKYC/finos/sdk/ekyc/sdkcore/1.1.9/sdkcore-1.1.9.aar +0 -0
  78. package/android/SDKeKYC/finos/sdk/ekyc/sdkcorecamera/1.1.9/sdkcorecamera-1.1.9-sources.jar +0 -0
  79. package/android/SDKeKYC/finos/sdk/ekyc/sdkcorecamera/1.1.9/sdkcorecamera-1.1.9.aar +0 -0
  80. /package/android/SDKeKYC/finos/sdk/ekyc/qrcode/{1.1.9/qrcode-1.1.9-sources.jar → 1.2.0/qrcode-1.2.0-sources.jar} +0 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 FinOS
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,79 +1,276 @@
1
- This is a new [**React Native**](https://reactnative.dev) project, bootstrapped using [`@react-native-community/cli`](https://github.com/react-native-community/cli).
1
+ # @finos_sdk/sdk-ekyc
2
2
 
3
- # Getting Started
3
+ [![npm version](https://badge.fury.io/js/%40finos_sdk%2Fsdk-ekyc.svg)](https://badge.fury.io/js/%40finos_sdk%2Fsdk-ekyc)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
5
 
5
- >**Note**: Make sure you have completed the [React Native - Environment Setup](https://reactnative.dev/docs/environment-setup) instructions till "Creating a new application" step, before proceeding.
6
+ React Native SDK for eKYC (electronic Know Your Customer) - Vietnamese CCCD NFC reading, OCR, Liveness detection, Face matching, and C06 residence verification.
6
7
 
7
- ## Step 1: Start the Metro Server
8
+ ## 🚀 Features
8
9
 
9
- First, you will need to start **Metro**, the JavaScript _bundler_ that ships _with_ React Native.
10
+ - **NFC Reading** - Read Vietnamese CCCD cards with NFC chips
11
+ - **OCR Processing** - Extract data from ID card images
12
+ - **Liveness Detection** - Verify user presence with selfie
13
+ - **Face Matching** - Compare selfie with ID card photo
14
+ - **C06 Verification** - Residence information verification
15
+ - **TypeScript Support** - Full type definitions included
10
16
 
11
- To start Metro, run the following command from the _root_ of your React Native project:
17
+ ## 📱 Requirements
18
+
19
+ - React Native 0.70+
20
+ - Android 21+ (Android platform only)
21
+ - NFC and/or Camera hardware depending on modules used
22
+ - Runtime permissions for Camera and/or NFC
23
+
24
+ ## 🛠️ Installation
12
25
 
13
26
  ```bash
14
- # using npm
15
- npm start
27
+ npm install @finos_sdk/sdk-ekyc
28
+ # or
29
+ yarn add @finos_sdk/sdk-ekyc
30
+ ```
16
31
 
17
- # OR using Yarn
18
- yarn start
32
+ ## 📖 Quick Start
33
+
34
+ ### 1. Import the SDK
35
+
36
+ ```typescript
37
+ import SdkEkyc from '@finos_sdk/sdk-ekyc';
38
+ import type { NfcConfig } from '@finos_sdk/sdk-ekyc';
19
39
  ```
20
40
 
21
- ## Step 2: Start your Application
41
+ ### 2. Basic NFC Scanning
22
42
 
23
- Let Metro Bundler run in its _own_ terminal. Open a _new_ terminal from the _root_ of your React Native project. Run the following command to start your _Android_ or _iOS_ app:
43
+ ```typescript
44
+ import React, { useEffect } from 'react';
45
+ import { View, Button, Alert } from 'react-native';
46
+ import SdkEkyc from '@finos_sdk/sdk-ekyc';
24
47
 
25
- ### For Android
48
+ const NFCExample = () => {
49
+ useEffect(() => {
50
+ // Set up event listeners
51
+ const nfcSuccessListener = SdkEkyc.onNfcScanSuccess((data) => {
52
+ console.log('NFC scan successful:', data);
53
+ });
26
54
 
27
- ```bash
28
- # using npm
29
- npm run android
55
+ const nfcErrorListener = SdkEkyc.onNfcError((error) => {
56
+ Alert.alert('NFC Error', error.message);
57
+ });
30
58
 
31
- # OR using Yarn
32
- yarn android
59
+ return () => {
60
+ nfcSuccessListener?.remove();
61
+ nfcErrorListener?.remove();
62
+ };
63
+ }, []);
64
+
65
+ const startNfcScan = async () => {
66
+ try {
67
+ const config: NfcConfig = {
68
+ appKey: 'your_app_key_here',
69
+ documentNumber: '123456789',
70
+ birthDate: '01011990',
71
+ expireDate: '01012030',
72
+ };
73
+
74
+ await SdkEkyc.startNfcScan(config);
75
+ } catch (error) {
76
+ Alert.alert('Error', 'Failed to start NFC scan');
77
+ }
78
+ };
79
+
80
+ return (
81
+ <View style={{ padding: 20 }}>
82
+ <Button title="Start NFC Scan" onPress={startNfcScan} />
83
+ </View>
84
+ );
85
+ };
33
86
  ```
34
87
 
35
- ### For iOS
88
+ ### 3. Android Setup
89
+
90
+ Add permissions to `android/app/src/main/AndroidManifest.xml`:
91
+
92
+ ```xml
93
+ <uses-permission android:name="android.permission.CAMERA" />
94
+ <uses-permission android:name="android.permission.NFC" />
95
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
96
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
97
+
98
+ <uses-feature
99
+ android:name="android.hardware.nfc"
100
+ android:required="false" />
101
+ ```
102
+
103
+ Clean and rebuild:
36
104
 
37
105
  ```bash
38
- # using npm
39
- npm run ios
106
+ cd android
107
+ ./gradlew clean
108
+ cd ..
109
+ npx react-native run-android
110
+ ```
111
+
112
+ ## 📚 Documentation
113
+
114
+ For complete documentation, examples, and API reference, see:
115
+
116
+ - [📖 Full Integration Guide](./Document/DOC_eKYC_SDK_ReactNative_Integration.md)
117
+ - [🔧 API Reference](./Document/DOC_eKYC_SDK_ReactNative_Integration.md#api-reference)
118
+ - [📋 Event Types](./Document/DOC_eKYC_SDK_ReactNative_Integration.md#event-types-and-callbacks)
40
119
 
41
- # OR using Yarn
42
- yarn ios
120
+ ## 🎯 Available Modules
121
+
122
+ ### NFC Scanning
123
+ ```typescript
124
+ const config: NfcConfig = {
125
+ appKey: 'your_app_key',
126
+ documentNumber: '123456789',
127
+ birthDate: '01011990',
128
+ expireDate: '01012030',
129
+ };
130
+
131
+ await SdkEkyc.startNfcScan(config);
43
132
  ```
44
133
 
45
- If everything is set up _correctly_, you should see your new app running in your _Android Emulator_ or _iOS Simulator_ shortly provided you have set up your emulator/simulator correctly.
134
+ ### OCR Processing
135
+ ```typescript
136
+ const config: OcrConfig = {
137
+ appKey: 'your_app_key',
138
+ idImagePath: 'base64_image_data',
139
+ expectedDocumentSide: 'front',
140
+ };
46
141
 
47
- This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.
142
+ await SdkEkyc.startOcr(config);
143
+ ```
48
144
 
49
- ## Step 3: Modifying your App
145
+ ### Liveness Detection
146
+ ```typescript
147
+ const config: LivenessConfig = {
148
+ appKey: 'your_app_key',
149
+ selfieImage: 'base64_selfie_image',
150
+ usingRandomAction: false,
151
+ isStraight: true,
152
+ };
50
153
 
51
- Now that you have successfully run the app, let's modify it.
154
+ await SdkEkyc.startLiveness(config);
155
+ ```
52
156
 
53
- 1. Open `App.tsx` in your text editor of choice and edit some lines.
54
- 2. For **Android**: Press the <kbd>R</kbd> key twice or select **"Reload"** from the **Developer Menu** (<kbd>Ctrl</kbd> + <kbd>M</kbd> (on Window and Linux) or <kbd>Cmd ⌘</kbd> + <kbd>M</kbd> (on macOS)) to see your changes!
157
+ ### Face Matching
158
+ ```typescript
159
+ const config: FaceServiceConfig = {
160
+ appKey: 'your_app_key',
161
+ selfieImage: 'selfie_base64',
162
+ idImage: 'id_image_base64',
163
+ };
55
164
 
56
- For **iOS**: Hit <kbd>Cmd ⌘</kbd> + <kbd>R</kbd> in your iOS Simulator to reload the app and see your changes!
165
+ await SdkEkyc.startFaceCompare(config);
166
+ ```
167
+
168
+ ### C06 Verification
169
+ ```typescript
170
+ const config: C06Config = {
171
+ appKey: 'your_app_key',
172
+ sod: 'sod_from_nfc',
173
+ idCardNumber: '123456789',
174
+ recentLocation: 'address_from_nfc',
175
+ };
176
+
177
+ await SdkEkyc.checkC06(config);
178
+ ```
179
+
180
+ ## 🔧 Event Handling
181
+
182
+ The SDK uses event listeners for real-time updates:
183
+
184
+ ```typescript
185
+ // Success events
186
+ SdkEkyc.onNfcScanSuccess((data) => { /* handle success */ });
187
+ SdkEkyc.onOcrSuccess((data) => { /* handle success */ });
188
+ SdkEkyc.onLivenessSuccess((data) => { /* handle success */ });
189
+
190
+ // Error events
191
+ SdkEkyc.onNfcError((error) => { /* handle error */ });
192
+ SdkEkyc.onOcrError((error) => { /* handle error */ });
193
+ SdkEkyc.onLivenessError((error) => { /* handle error */ });
194
+ ```
195
+
196
+ ## 🧪 TypeScript Support
197
+
198
+ Full TypeScript support with comprehensive type definitions:
199
+
200
+ ```typescript
201
+ import type {
202
+ NfcConfig,
203
+ C06Config,
204
+ OcrConfig,
205
+ LivenessConfig,
206
+ FaceServiceConfig,
207
+ SDKEkycResultWithEvent,
208
+ SDKEkycResultStringWithEvent,
209
+ } from '@finos_sdk/sdk-ekyc';
210
+ ```
211
+
212
+ ## 🔄 Lifecycle Management
213
+
214
+ For proper NFC functionality, integrate with your app's lifecycle:
215
+
216
+ ```typescript
217
+ import { AppState } from 'react-native';
218
+
219
+ useEffect(() => {
220
+ const handleAppStateChange = (nextAppState: string) => {
221
+ if (nextAppState === 'active') {
222
+ SdkEkyc.onResume();
223
+ } else if (nextAppState === 'background') {
224
+ SdkEkyc.onPause();
225
+ }
226
+ };
227
+
228
+ const subscription = AppState.addEventListener('change', handleAppStateChange);
229
+ return () => {
230
+ subscription?.remove();
231
+ SdkEkyc.removeAllListeners();
232
+ };
233
+ }, []);
234
+ ```
235
+
236
+ ## 🚨 Error Handling
237
+
238
+ All SDK operations return promises and emit error events:
239
+
240
+ ```typescript
241
+ try {
242
+ const result = await SdkEkyc.startNfcScan(config);
243
+ // Handle success
244
+ } catch (error) {
245
+ console.error('SDK operation failed:', error);
246
+ // Show user-friendly error message
247
+ }
248
+ ```
57
249
 
58
- ## Congratulations! :tada:
250
+ ## 📞 Support
59
251
 
60
- You've successfully run and modified your React Native App. :partying_face:
252
+ - **Documentation**: [Full Integration Guide](./Document/DOC_eKYC_SDK_ReactNative_Integration.md)
253
+ - **Issues**: [GitHub Issues](https://github.com/finos/sdk-ekyc/issues)
254
+ - **Contact**: SDK provider for app key registration and support
61
255
 
62
- ### Now what?
256
+ ## 📄 License
63
257
 
64
- - If you want to add this new React Native code to an existing application, check out the [Integration guide](https://reactnative.dev/docs/integration-with-existing-apps).
65
- - If you're curious to learn more about React Native, check out the [Introduction to React Native](https://reactnative.dev/docs/getting-started).
258
+ MIT License - see [LICENSE](LICENSE) file for details.
66
259
 
67
- # Troubleshooting
260
+ ## 🔄 Migration from Android SDK
68
261
 
69
- If you can't get this to work, see the [Troubleshooting](https://reactnative.dev/docs/troubleshooting) page.
262
+ If migrating from the native Android SDK:
70
263
 
71
- # Learn More
264
+ 1. Replace native method calls with React Native SDK methods
265
+ 2. Convert callback-based APIs to Promise-based APIs
266
+ 3. Use event listeners instead of direct callbacks
267
+ 4. Handle permissions through React Native's permission system
268
+ 5. Update app lifecycle management to use React Native's AppState
72
269
 
73
- To learn more about React Native, take a look at the following resources:
270
+ ## 📦 Package Information
74
271
 
75
- - [React Native Website](https://reactnative.dev) - learn more about React Native.
76
- - [Getting Started](https://reactnative.dev/docs/environment-setup) - an **overview** of React Native and how setup your environment.
77
- - [Learn the Basics](https://reactnative.dev/docs/getting-started) - a **guided tour** of the React Native **basics**.
78
- - [Blog](https://reactnative.dev/blog) - read the latest official React Native **Blog** posts.
79
- - [`@facebook/react-native`](https://github.com/facebook/react-native) - the Open Source; GitHub **repository** for React Native.
272
+ - **Package**: `@finos_sdk/sdk-ekyc`
273
+ - **Version**: 0.0.30+
274
+ - **Platform**: Android (iOS support planned)
275
+ - **React Native**: 0.70+
276
+ - **License**: MIT
@@ -3,14 +3,14 @@
3
3
  "component": {
4
4
  "group": "finos.sdk.ekyc",
5
5
  "module": "c06",
6
- "version": "1.1.9",
6
+ "version": "1.2.0",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
10
10
  },
11
11
  "createdBy": {
12
12
  "gradle": {
13
- "version": "8.14.3"
13
+ "version": "9.0.0"
14
14
  }
15
15
  },
16
16
  "variants": [
@@ -33,13 +33,13 @@
33
33
  ],
34
34
  "files": [
35
35
  {
36
- "name": "c06-1.1.9.aar",
37
- "url": "c06-1.1.9.aar",
38
- "size": 12864,
39
- "sha512": "b82ef7802687929040b2830fd6262c056fabce9641afda252b6777122c2f7b158bebda08a3a105b4004aea632dd1f71cd2f2325d0c7ae2cd7c0d9e107cdca9d0",
40
- "sha256": "5da1ba9612ccb5cf10350d6cc517cb620dd0f58b98a160a772c2b23c6fcf197a",
41
- "sha1": "428284bffac01ee6accaca35967edf768b86e07c",
42
- "md5": "743a418d33f678a051f1ce677c45eea5"
36
+ "name": "c06-1.2.0.aar",
37
+ "url": "c06-1.2.0.aar",
38
+ "size": 13592,
39
+ "sha512": "c55f8a3b30a68e8346a96a2e21b88f8b4d2620fd53c2782ee593135b2d45fb0582ab0411dad5e1f5e90d35a625e60786705cc4a2bca99afca50140c6386cde3e",
40
+ "sha256": "bf3d0865238651be831e08e334d8777c074d803f5b431521afc2edabd58b0d4e",
41
+ "sha1": "8d402b27282bd069b5addc0c7461b85801d74b8a",
42
+ "md5": "650b52ab71d78a8390238feab377daa6"
43
43
  }
44
44
  ]
45
45
  },
@@ -63,7 +63,7 @@
63
63
  "group": "finos.sdk.ekyc",
64
64
  "module": "sdkcore",
65
65
  "version": {
66
- "requires": "1.1.9"
66
+ "requires": "1.2.0"
67
67
  }
68
68
  },
69
69
  {
@@ -76,13 +76,13 @@
76
76
  ],
77
77
  "files": [
78
78
  {
79
- "name": "c06-1.1.9.aar",
80
- "url": "c06-1.1.9.aar",
81
- "size": 12864,
82
- "sha512": "b82ef7802687929040b2830fd6262c056fabce9641afda252b6777122c2f7b158bebda08a3a105b4004aea632dd1f71cd2f2325d0c7ae2cd7c0d9e107cdca9d0",
83
- "sha256": "5da1ba9612ccb5cf10350d6cc517cb620dd0f58b98a160a772c2b23c6fcf197a",
84
- "sha1": "428284bffac01ee6accaca35967edf768b86e07c",
85
- "md5": "743a418d33f678a051f1ce677c45eea5"
79
+ "name": "c06-1.2.0.aar",
80
+ "url": "c06-1.2.0.aar",
81
+ "size": 13592,
82
+ "sha512": "c55f8a3b30a68e8346a96a2e21b88f8b4d2620fd53c2782ee593135b2d45fb0582ab0411dad5e1f5e90d35a625e60786705cc4a2bca99afca50140c6386cde3e",
83
+ "sha256": "bf3d0865238651be831e08e334d8777c074d803f5b431521afc2edabd58b0d4e",
84
+ "sha1": "8d402b27282bd069b5addc0c7461b85801d74b8a",
85
+ "md5": "650b52ab71d78a8390238feab377daa6"
86
86
  }
87
87
  ]
88
88
  },
@@ -96,13 +96,13 @@
96
96
  },
97
97
  "files": [
98
98
  {
99
- "name": "c06-1.1.9-sources.jar",
100
- "url": "c06-1.1.9-sources.jar",
101
- "size": 2422,
102
- "sha512": "c2eb1f6667cd91cc19c76d1cf25934cbc116f5b0c7aad5b6f91f127a9c77c358bb11c71cca4175cb145752ab06d04b77af8db0a504104efb3b2d75c7b0a6222f",
103
- "sha256": "a567040ef9e2ecf7925ac28a8d32cf647a26a9916e90c12357e8b14fb75e58fc",
104
- "sha1": "2d51eff6ef67232f5c1611ba8045f38bd61e67c5",
105
- "md5": "5457a62ac2611bf9e64c899a3a800f23"
99
+ "name": "c06-1.2.0-sources.jar",
100
+ "url": "c06-1.2.0-sources.jar",
101
+ "size": 2529,
102
+ "sha512": "ec7bd58447a91703b10d092171b5b6fe4c7d2d69426a8fb108303537d84dc61aa3ac07ecd0324450d34ee10367f4a611fa64f07127c48b7d10e494a316bad054",
103
+ "sha256": "4d2e875d46b677c8b7a0167e802790785388585731315f22c1a64b1982531dd3",
104
+ "sha1": "498122de6d59700f7522cc095b9fa0958baa277a",
105
+ "md5": "a29aad68f0ad4c0ab2232771c9427711"
106
106
  }
107
107
  ]
108
108
  },
@@ -116,13 +116,13 @@
116
116
  },
117
117
  "files": [
118
118
  {
119
- "name": "c06-1.1.9-javadoc.jar",
120
- "url": "c06-1.1.9-javadoc.jar",
121
- "size": 278596,
122
- "sha512": "b80c0c6368e6e1f1d6841d06c82284713f368b6694d2fd6d19c7192df37ec876d4455282a01ae0b87d11664839c7b64fb6b22a8018d673c58e2f8958314c5f1e",
123
- "sha256": "c18382876476efdc5c111470c41a4c550ac577033fd8d3ca8afbf0d6031c04a7",
124
- "sha1": "d84ad5b8e325decbdbe42afb036c54f1cf3f1154",
125
- "md5": "e9a6f61cf9819bd3e7a45500ec1722c2"
119
+ "name": "c06-1.2.0-javadoc.jar",
120
+ "url": "c06-1.2.0-javadoc.jar",
121
+ "size": 278559,
122
+ "sha512": "f76907ff9d16be331dad19abb505f479ae075cf9915924359239a0d8a7eadae2df80a91efd18976cddcb971285db8113281eba9d4110499cc6e1dba616419214",
123
+ "sha256": "13b1fc8b8006f97deb7459a1ed9ccde2ebecb5f8dfac0b69407cf905eadaff7c",
124
+ "sha1": "05ed4aad207cca3ad70520871bce6047f66fbcaa",
125
+ "md5": "ba3093ec80ef12c5c5e36d0b0ef7f54c"
126
126
  }
127
127
  ]
128
128
  }
@@ -9,11 +9,11 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>finos.sdk.ekyc</groupId>
11
11
  <artifactId>c06</artifactId>
12
- <version>1.1.9</version>
12
+ <version>1.2.0</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>C06</name>
15
15
  <description>Android SDK module: C06</description>
16
- <url>https://github.com/vnfinosdevops/finos.ekyc.sdk.android</url>
16
+ <url>https://github.com/ToanMobile/SDK_Ekyc_KMP</url>
17
17
  <dependencies>
18
18
  <dependency>
19
19
  <groupId>org.jetbrains.kotlin</groupId>
@@ -30,7 +30,7 @@
30
30
  <dependency>
31
31
  <groupId>finos.sdk.ekyc</groupId>
32
32
  <artifactId>sdkcore</artifactId>
33
- <version>1.1.9</version>
33
+ <version>1.2.0</version>
34
34
  <scope>runtime</scope>
35
35
  </dependency>
36
36
  </dependencies>
@@ -3,11 +3,11 @@
3
3
  <groupId>finos.sdk.ekyc</groupId>
4
4
  <artifactId>c06</artifactId>
5
5
  <versioning>
6
- <latest>1.1.9</latest>
7
- <release>1.1.9</release>
6
+ <latest>1.2.0</latest>
7
+ <release>1.2.0</release>
8
8
  <versions>
9
- <version>1.1.9</version>
9
+ <version>1.2.0</version>
10
10
  </versions>
11
- <lastUpdated>20250911071811</lastUpdated>
11
+ <lastUpdated>20250929062922</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>