Starts the SEON verification flow. The SDK must be initialized with initialize() before calling this method.
Signature
Parameters
None.
Returns
Future<SeonVerificationResult> — Resolves with the verification result.
See SeonVerificationResult for the result structure and SeonVerificationStatus for all possible status values.
Errors
Throws SeonException on failure.
Example
Handling Permission Denial
On Android, if the user denies location permission, the SDK returns missingLocationPermission instead of throwing an error:
- Presents the verification UI using a
UINavigationController
- If the root view controller is already a
UINavigationController, it is used directly
- Otherwise, a new navigation controller is created and presented modally
- Delegate callbacks are bridged to the stored MethodChannel result
- Launches a transparent proxy
Activity (SeonVerificationActivity)
- The proxy Activity registers an
ActivityResultLauncher and starts the SEON flow
- When complete, the Activity resolves the stored MethodChannel result and finishes itself
- The transparent theme ensures users don’t see the proxy Activity
Only one verification can run at a time. Calling startVerification() while a verification is in progress will throw a SeonException with code SeonErrorCode.eVerificationInProgress.