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
![The location of the custom fonts](https://files.readme.io/b4020c0-Screenshot_2023-10-18_at_14.44.26.png)
The location of the custom fonts
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 8 months ago