onIDVKYCProgress

Event: onIDVKYCProgress

📌 Overview

onIDVKYCProgress is a callback event invoked by the REL-ID SDK during the silent KYC challenge as part of the pre-login flow. It provides progress updates to the application to help track the backend KYC processing stages.


🧪 When It’s Triggered

  • During pre-login activation when a silent KYC challenge (e.g. IDVActivatedCustomerKYC) is active.
  • Each invocation reports the latest stage of document/selfie validation or third-party checks.

🧑‍💻 Event Listener Registration

PlatformRegistration Method
React NativeEventEmitter.addListener('onIDVKYCProgress', onIDVKYCProgress)
Flutterrdna.on(RdnaClient.onIDVKYCProgress, onIDVKYCProgress)
Cordovadocument.addEventListener('onIDVKYCProgress', this.onIDVKYCProgress.bind(this), false)
Native iOS(void)onIDVKYCProgress:(NSString *)status;
Native Androidvoid onIDVKYCProgess(String progressList);

📤 Payload Format

{
  "kyc_message": [
    "Verifying with credstore 1",
    "Verifying with credstore 2",
    "Verifying with credstore 3"
  ]
}

📌 Parameters

FieldTypeDescription
kyc_messagestring[]List of progress messages during KYC workflow

💡 Sample Usage

React Native
EventEmitter.addListener('onIDVKYCProgress', (response) => {
  console.log('KYC Progress:', response.kyc_message);
});
Flutter
rdna.on('onIDVKYCProgress', (response) {
  print("KYC Messages: ${response['kyc_message']}");
});
Cordova
document.addEventListener('onIDVKYCProgress', function(response) {
  console.log("KYC Progress:", response.kyc_message);
});
Native Android
@Override
public void onIDVKYCProgess(String progressJson) {
  Log.d("KYC_PROGRESS", progressJson);
}
Native iOS
- (void)onIDVKYCProgress:(NSString *)status {
  NSLog(@"KYC Progress JSON: %@", status);
}

🔔 Notes

  • Use this event to show a real-time progress bar or log updates in the UI.
  • The KYC flow might emit multiple messages depending on backend processing stages.