Fonts customization
For android
In order to set custom fonts you need to store your regular and bold fonts in assets/fonts/
folder of android
package
To add custom fonts, Your project needs to have these font files, otherwise, plugin will use default fonts:
To add regularFont
& boldFont
use the code snippet below:
MetaMapGlobalIDSDK.showMetaMapFlow({clientId: "YOUR_CLIENT_ID",
flowId: "YOUR_FLOW_ID",
metadata: {"regularFont": "REGULAR_FONT_NAME.ttf",
"boldFont": "BOLD_FONT_NAME.ttf"}})
Updated about 1 year ago