Skip to main content
Metadata is an optional dictionary parameter that allows you to customize the SDK’s behavior, appearance, and pass additional data during the verification flow.

Overview

Metadata is passed to the showMetaMapFlow method:

Available Metadata Parameters

string
Sets the SDK language. By default, the SDK uses English (“en”). Supported languages: “es”, “fr”, “pt”, “ru”, “tr”, “de”, “it”, “pl”, “th”.
string
Customizes the main button color using hex color format. Default is white.
string
Customizes the button text color using hex color format. Default is black.
string
Used for re-verification flows. Pass an existing identity ID to update or re-verify a user.
string
Enables data encryption by passing an encryption configuration ID from your MetaMap dashboard.
string
Sets a custom regular font. The font file must be included in your project.
string
Sets a custom bold font. The font file must be included in your project.

Complete Example

Swift

Objective-C

Custom Fonts

To use custom fonts:
  1. Add your font files (.ttf or .otf) to your Xcode project
  2. Include the fonts in your Info.plist under “Fonts provided by application”
  3. Reference the font file names in the metadata
If the specified font files are not found in your project, the SDK will fall back to default fonts.

Custom Metadata Keys

You can also pass custom key-value pairs for your own tracking or business logic:
These custom values will be associated with the verification and can be retrieved via the MetaMap API or dashboard.