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:
MetaMapRNSdk.showFlow("YOUR_CLIENT_ID",
"YOUR_FLOW_ID",
{"regularFont": "REGULAR_FONT_NAME.ttf", "boldFont": "BOLD_FONT_NAME.ttf" });
Updated 10 months ago