Check that the font you are trying to use appears in ist, if you've added the whole folder and it's blue in color, then you need to add it to the path.Make sure you've added the fonts to your XCode project.The library you use has a specific section about this problem, it states (in version 2.0.3): Be sure you have fonts under node_modules>react-native-vector-icons UIAppFontsĬlean cache and restart application with rebuild. If you already have this UIAppFonts array just edit strings. In the ios/projectNameFolder/ist add codes below between tags. React-native link react-native-vector-icons Solution 3 npm install -save react-native-vector-iconsĪdd the line below to the ios/podfile file then run pod update pod 'RNVectorIcons', :path => './node_modules/react-native-vector-icons' The same issue was fixed after triggering loadFont() method import Icon from 'react-native-vector-icons/FontAwesome'
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |