I followed the setup instructions in the NativeBase Docs and ran rnpm link
. I am getting this error:
Unrecognized font family ionicons
also checked by Xco
Editing PodFile and adding pod RNVectorIcons
not necessary because auto-linking will work fine after adding react-native-vector-icons
adding to PodFile will cause a warning after the next run with react-native run-ios
:
Warning: following modules are linked manually: - react-native-vector-icons (to unlink run: "react-native unlink react-native-vector-icons"
Just add this line of codes to your info.plist that exist on ios/yourPorjectName/
find UIAppFonts and add codes inside :
AntDesign.ttf
Entypo.ttf
EvilIcons.ttf
Feather.ttf
FontAwesome.ttf
FontAwesome5_Brands.ttf
FontAwesome5_Regular.ttf
FontAwesome5_Solid.ttf
Foundation.ttf
Ionicons.ttf
MaterialIcons.ttf
MaterialCommunityIcons.ttf
SimpleLineIcons.ttf
Octicons.ttf
Zocial.ttf
worked with:
"react-native": "0.63.3",
"react-native-vector-icons": "^7.1.0"