Skip to main content
Releases SDK resources and resets internal state. After calling dispose(), you must call initialize() again before using startVerification().

Signature

Parameters

None.

Returns

Future<void> — Completes when cleanup is finished.

Errors

Throws SeonException on failure.

Example

When to Use

  • When the user navigates away from the verification feature
  • On user logout
  • When you want to explicitly release native SDK resources

Platform Behavior

  • Resets the initialized state on the Swift singleton
  • Clears any pending verification result
  • Removes the SDK delegate reference
  • Dismisses any presented navigation controller