@finos_sdk/sdk-ekyc 1.4.2 → 1.4.5

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
@@ -5,7 +5,7 @@
5
5
 
6
6
  React Native SDK for eKYC (electronic Know Your Customer) and eSign. Features include Vietnamese CCCD NFC reading, OCR, Liveness detection, Face matching, C06 residence verification, SMS OTP verification, and Electronic Signature (eSign) capabilities.
7
7
 
8
- **Version**: 1.4.3.1
8
+ **Version**: 1.4.2
9
9
 
10
10
  ## Features
11
11
 
@@ -49,6 +49,7 @@ import {
49
49
  getEkycError,
50
50
  SDKFaceDetectStatus,
51
51
  SDKFlowType,
52
+ AppIDType,
52
53
  } from '@finos_sdk/sdk-ekyc';
53
54
 
54
55
  import type {
@@ -138,6 +139,7 @@ const result = await FinosEKYC.startEkycUI(
138
139
  SDKFaceDetectStatus.STRAIGHT,
139
140
  ],
140
141
  activeActionCount: 3, // Random action count 1-10 (if customActions is null)
142
+ appIDType: AppIDType.VIKKI, // App ID type: NONE | HD_BANK | VIKKI
141
143
  },
142
144
 
143
145
  // --- styleConfig: UI customization ---
@@ -249,6 +251,7 @@ SDK behavior and runtime settings.
249
251
  | `isShowCameraFont` | `boolean` | `true` | Show instruction text on camera screen |
250
252
  | `customActions` | `SDKFaceDetectStatus[]` | `undefined` | Custom liveness action sequence |
251
253
  | `activeActionCount` | `number` | `2` | Number of random actions (1-10, used when `customActions` is null) |
254
+ | `appIDType` | `AppIDType` | `NONE` | App ID type for branding: `NONE`, `HD_BANK`, or `VIKKI` |
252
255
 
253
256
  ```typescript
254
257
  // Minimal
@@ -270,9 +273,27 @@ const optionConfig = {
270
273
  SDKFaceDetectStatus.STRAIGHT,
271
274
  ],
272
275
  activeActionCount: 3,
276
+ appIDType: AppIDType.VIKKI,
273
277
  };
274
278
  ```
275
279
 
280
+ ### AppIDType
281
+
282
+ Determines the branding/skin of SDK screens.
283
+
284
+ | Value | Description |
285
+ |-------|-------------|
286
+ | `NONE` | Default, no branding |
287
+ | `HD_BANK` | HD Bank branding |
288
+ | `VIKKI` | Vikki branding |
289
+
290
+ ```typescript
291
+ import { AppIDType } from '@finos_sdk/sdk-ekyc';
292
+
293
+ // In optionConfig
294
+ { appIDType: AppIDType.VIKKI }
295
+ ```
296
+
276
297
  ### StyleConfig
277
298
 
278
299
  UI appearance customization. All color values use ARGB integer format (e.g., `0xFFRRGGBB`).
@@ -822,17 +843,13 @@ useEffect(() => {
822
843
 
823
844
  ## What's New
824
845
 
825
- ### v1.4.3.1
846
+ ### v1.4.2
847
+ - `AppIDType` enum (NONE, HD_BANK, VIKKI) for branding/skin selection
826
848
  - `captureButtonColor` and `captureButtonDisabledColor` in StyleConfig
827
- - Android responsive layouts for camera preview screens
828
-
829
- ### v1.4.3
830
849
  - `USER_CANCEL` error code (999) for user cancellation detection
831
- - Auto-detect user cancellation when activity closed without completing
832
-
833
- ### v1.4.2
834
850
  - User cancellation callback support across all modules
835
- - Error callback propagation in NFC, OCR, Liveness, QRCode
851
+ - Android responsive layouts for camera preview screens
852
+ - Refactored StyleConfig JSON parsing with proper JSONObject
836
853
 
837
854
  ### v1.4.1
838
855
  - Full iOS native bridge support
@@ -65,7 +65,7 @@ dependencies {
65
65
  implementation 'com.facebook.react:react-android'
66
66
 
67
67
  // Finos eKYC SDK dependencies from GitHub Packages Maven repository
68
- def sdkVersion = "1.4.3.1"
68
+ def sdkVersion = "1.4.5.2"
69
69
  implementation("finos.sdk.ekyc:ekyc:$sdkVersion")
70
70
  implementation("finos.sdk.ekyc:ekycui:$sdkVersion")
71
71
  implementation("finos.sdk.ekyc:nfc:$sdkVersion")