Skip to main content

Fonts are not being displayed correctly

Issue with custom font display in the paywall

Kirupa avatar
Written by Kirupa
Updated over a year ago

In order to define your custom font for the paywall, please go through the following instructions for iOS and Android respectively:

For iOS :
Use the method UIFont.familyNames() and then the UIFont.fontNames(forFamilyName: familyName) to identify the name and set that name in the console.
​
​For Android :
Enter the name in your font folder of your application resources, which you can retrieve with ResourcesCompat.getFont(context, R.font.myfont), myfont being the name to set here.

⚠️Please note that the Android font name doesn't have space in between the words.

Purchasely Console:

In the Purchasely console, you can add your custom font file in

Settings-> App settings- > General-> App Custom Fonts -> Add new font

Feel free to contact us via the support chat for any questions or concerns.

Team Purchasely.

Did this answer your question?