React-native-vector-icons: Icon setting not working in latest react native application

Created on 28 Jul 2019  路  4Comments  路  Source: oblador/react-native-vector-icons

I tried setting up vector icons for a new react (react-native init) but it does not work?
I have done it manually, using react-native link still I get this error saying; Unrecognized font family "Iconicons"
No idea of what to do next I have been on this for the last three days, used multiple projects still get same results by the way My Xcode is up to date.

I followed a tutorial on Youtube that showed it worked but for an a version of react-native without the .workspace only .xcodeproj.

Any help will be appreciated.

Most helpful comment

Do you use React 0.60? If so perhaps better to link with the pod update.

All 4 comments

Do you use React 0.60? If so perhaps better to link with the pod update.

run react-native link react-native-vector-icons. It will give a warning, but it should be gone once this library gets updated

As @SeanningTatum said, run react-native link react-native-vector-icons, but afterwards you need to _remove all the fonts_ from Copy Bundle Resources from your XCode project, it should look like this

Screenshot at Aug 07 10-05-07

@SeanningTatum I did run react-native link react-native-vector-icons. But it still shows my icons from different families as unavailable. I upgraded to 0.60.5 from 0.59.8 and this happened.
@durdevic Could guide for android?

Was this page helpful?
0 / 5 - 0 ratings