Skip to main content
MetaMap iOS SDK supports multiple verification flows within the same application using the flowId parameter. This allows you to create different verification experiences for different user types or use cases.

Overview

The flowId parameter specifies which verification flow to execute. Each flow can have:
  • Different verification steps
  • Custom branding and styling
  • Specific document requirements
  • Unique configuration settings

Basic Implementation

Swift

Objective-C

Multiple Flow Examples

You can implement different flows for various scenarios:

Example 1: User Type-Based Flows

Example 2: Region-Specific Flows

Example 3: Re-verification Flow

Handling Multiple Flows with One Delegate

SwiftUI Implementation

Best Practices

  1. Flow ID Management: Store flow IDs in a configuration file or remote config for easy updates
  2. Metadata Tracking: Use metadata to track which flow was executed for analytics
  3. Error Handling: Implement proper error handling for each flow type
  4. User Experience: Provide clear context to users about which verification flow they’re entering
  5. Testing: Test each flow thoroughly in your staging environment before production

Getting Flow IDs

Flow IDs are created and managed in your MetaMap Dashboard:
  1. Log in to your MetaMap Dashboard
  2. Navigate to Flows
  3. Create or select an existing flow
  4. Copy the Flow ID from the flow settings
Each flow can have different verification steps, document requirements, and configuration settings. Ensure you’re using the correct flow ID for each use case.