![]() In the Targets menu, click on your project's name. Clic on the folder icon in the top-left corner, then select your project's name. Be careful not to add them inside a folder of your font's name (Sarpanch). Notice that we directly add our font files inside the android fonts folder. ++pre> cp assets/fonts/Sarpanch/* android/app/src/main/assets/fonts/++/pre> You can either drag and drop them, or use the following command line: So we'll have to do it by hand! First, on AndroidĬopy the fonts in the android/app/src/main/assets/fonts/ folder But it does not work anymore from react-native 0.59 version. We used to be able to use ++code>react-native link++/code> to link our fonts. You can also add the rnpm link to your font in your project's ++code>package.json++/code>: ![]() Link your font (10 mins)įirst, add the following key to your ++code>:++/code> Move your font the the appropriate folder :
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |