Fontisto is not included in icons. Font file is present and linked but IconNB is not importing it.
https://github.com/GeekyAnts/NativeBase/blob/3924fa6b901b5d3cc315be64ffe11a9b8392556e/src/basic/IconNB.js
I get this error :
Warning: Failed prop type: Invalid prop `type` of value `Fontisto` supplied to `IconNB`, expected one of ["AntDesign","Entypo","EvilIcons","Feather","FontAwesome","FontAwesome5","Foundation","Ionicons","MaterialCommunityIcons","MaterialIcons","Octicons","SimpleLineIcons","Zocial"]
Hi @rmkpatchaa , we have fixed this issue and it is available on master branch now.
Thanks
Hi @rmkpatchaa , latest version of Native base has been released. The issues should be fixed now.
Native Base 2.13.12
Hi, I have the same issue with...
Unable to resolve "@expo/vector-icons/Fontisto" from "node_modules/native-base/dist/src/basic/IconNB.js"
Maybe I missed something or the issue is not resolved at all.
Here you can see more people with the same problem
Thanks in advandce!
I've tested the new version and icons are showing but i'm still getting the warning. But now Icons are showing.
Every works fine with native-base: 2.13.8
The problem appears in version ^2.13.8 and remains until 2.13.12
Unable to resolve module @expo/vector-icons/Fontisto from .../node_modules/native-base/dist/src/basic/IconNB.js: Module @expo/vector-icons/Fontisto does not exist in the Haste module map
In short, what you need to install is the exact 2.13.8 version
npm i --save-exact [email protected]
Yes, until expo upgrades to add fontisto, using 2.13.8 seems to be the best bet.
Most helpful comment
In short, what you need to install is the exact 2.13.8 version
npm i --save-exact [email protected]