Skip to main content
Version: 1.0

2.1.1.3.5 Interrupted Sessions

Overview

When using the deep link verification method, if a verification process is interrupted (for example, when a user completes verification in (Telegram, WhatsApp, etc.) but does not return to the app because they closed the application and then opened it again), VerifySpeed provides functionality to recover and continue the verification session.

note

You can get the token only one time and within 5 minutes after verification is complete.

Properties

  • onSuccess: Callback triggered on successful verification, returning a token to retrieve the user's phone number.

Interrupted session handling example

VerifySpeed.instance.checkInterruptedSession(
onSuccess: (token) {
if (token != null) {
log('token: $token')
}
},
);