This article explains how to add custom fonts to your MoEngage In-app messages. Using custom fonts helps you maintain consistent branding and provide a seamless experience for your app users.
library_add_check |
Prerequisites Custom Fonts are supported only from Android SDK Versions -> 10.0.0 and iOS SDK Versions -> 6.0.0. |
Add Custom Fonts to In-App Messages
Follow these steps to add custom fonts to your In-app messaging campaigns:
- Go to Step 2 of campaign creation.
- Select the Custom font check box.
- Enter the custom font name in the text box below the Custom font check box.
- Ensure the font name you specify is available in your app bundle:
- For Android: Place the font file in your app bundle, inside the
res/font/
folder. For more information, refer to the Android Developer documentation about adding fonts in XML. - For iOS: Bundle the font file in your app. For more information, see the Apple documentation about adding fonts for iPhone and iPad.
- For Android: Place the font file in your app bundle, inside the
- If you do not want to apply custom fonts to your In-app messages, leave the text box empty.
- To verify how your in-app messages appear with the custom fonts, use the Test Campaign feature. For more information, see the In-App Nativ Version 3 article.
info |
Information Custom fonts do not appear in the message preview on the dashboard. Use the Test Campaign feature to see the fonts in your messages. |