-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Version
@sumsub/react-native-mobilesdk-module: "^1.37.1"
react-native: "0.79.2"
some context - we are going develop a feature as below
When a user submits a document, it may be approved or sent back for resubmission. If the document is not approved, the user will need to resubmit it until it is finally rejected.
Solution
We need to listen to this event (https://docs.sumsub.com/docs/react-native-module#action-result-handler), then it will return two key fields, status & actionResult
if status is TemporarilyDeclined , then we will ask user for document resubmission
if status is FinallyRejected or Approved , then we will allow user to continue with the manual Form input or preview screen.
Issue
-
We follow the example here: https://github.com/SumSubstance/react-native-mobilesdk-module/blob/main/demo/src/FlowRunScreen/FlowRunScreen.js#L70C11-L74C15, but we are not getting any data from this onActionResult, can you double check on your side on this please ?
-
Based on the documentation, these Rejected Templates (https://docs.sumsub.com/docs/verification-document-templates#rejected-templates) are specically designed to trigger a rejected status (RETRY/ RESUBMIT or FINAL REJECTION or etc.), however, they are being returned as 'success', this is a critical functionality for testing fallback user journeys, can you double check on your side on this please ?
please let me know if you have doubts on the questions above