Skip to main content

Documentation Index

Fetch the complete documentation index at: https://jdev-e8db0569.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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

Signature

// On SeonOrchestration
static Future<void> dispose()

Parameters

None.

Returns

Future<void> — Completes when cleanup is finished.

Errors

Throws SeonException on failure.

Example

import 'package:seon_orchestration_flutter/seon_orchestration_flutter.dart';

// Clean up when verification is no longer needed
await SeonOrchestration.dispose();

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