PIE React Native
Adding custom fonts to a React Native app
Android
Copy the fonts inside of fonts
folder to android/app/src/main/assets/font
folder of your project.
iOS
Drag and drop the fonts inside of fonts
folder onto your project in Xcode.
After that, add these entries to Info.plist
:
<key>UIAppFonts</key>
<array>
<string>JETSansDigital-Bold.ttf</string>
<string>JETSansDigital-BoldItalic.ttf</string>
<string>JETSansDigital-ExtraBold.ttf</string>
<string>JETSansDigital-ExtraBoldItalic.ttf</string>
<string>JETSansDigital-Italic.ttf</string>
<string>JETSansDigital-Regular.ttf</string>
</array>
Also, make sure to add these fonts to Copy Bundle Resources
in Build Phases
tab of your app in Xcode.