Overview
Metadata is passed to theshowMetaMapFlow 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:- Add your font files (.ttf or .otf) to your Xcode project
- Include the fonts in your Info.plist under “Fonts provided by application”
- Reference the font file names in the metadata