React Native Vector Icons - Setup: Android and IOS simple (2022)

preview_player
Показать описание
Perfect for buttons, logos and nav/tab bars. Easy to extend, style and integrate into your project.
Package current (5/5/2022):
"react": "17.0.2",
"react-native": "0.68.1",
"react-native-vector-icons": "^9.1.0"

Fixed error in ios: Could not find the following native modules: RNVectorIcons
- Run: run -rf ios/Pods && rm -rf ios/build && cd ios && pod install && cd ../
- After run : npx react-native run-ios
If you happen to run into trouble with auto-linking or updating errors while installing React Native Vector Icons on iOS, here’s a neat little trick to fix the issue. Run:
- npx react-native link react-native-vector-icons
- After run : npx react-native run-ios

Solution2:
project: {
ios: {},
android: {}
},
assets: ['./src/assets/'],
};
after installing react-native-asset run below command
yarn react-native-asset or npx react-native-asset

Thanks so much. please give me a subright to motivate me
Рекомендации по теме
Комментарии
Автор

Superb! I was facing diffculty following the official guide and found that it is not written as easy as it looks like. There is more of technicality in following these steps rather than just reading which they didn't explain, I am also surprised.
But big thanks man, saving a lot of time!!!

hassanjamil
Автор

Awesome video! As a newbie, the official explanation was impossible to follow, and this video really helped!

ctsofi
Автор

I sincerely want to thank you for this video! Worked out for me on Android.

MohamedOsama-mzcv
Автор

For new projects there would be no info.plist included in the project, please edit the info tab directly. Rest of the steps are the same, thanks once again for making this video. The official docs are so difficult to comprehend. Your video makes it easy to understand. I hope they would link your video to the official docs in the future!

alyankhan
Автор

Awesome work. Wasted half an hour on blogs. To the point, Thanks.

khokon_m
Автор

bro that was awesome very helpful video i was in big trouble ..
Thankyou...

Skipperk-zpzm
Автор

Working perfectly so you deserve my sub. Keep up the good work man

wmrwyyj
Автор

Thank you very much for being simple and to the point. Helped me a lot.

renan
Автор

Thanks. It's really great tutorial

xondamir_dev
Автор

Thanks bud, worked out for me like it should on IOS.

abeautyqueenofonly
Автор

Que grandeeee, funcionó todo. Gracias

pablohernandez
Автор

Cool. But why did they made it so laborious to get icons ...

seeking
Автор

Thank you, tutorial explained very well. You saved me! 💘

mattiadavi
Автор

As per docs, "Make sure your app is checked under "Add to targets" and that "Create groups" is checked if you add the whole folder"

programmingpython
Автор

Thanks a lot. For some reason I had to right click to create New Group to make it work since it kept looking ind the nodes_modules

Norfeldt
Автор

this is a helpful video, thank you so much

binbin
Автор

This days jul 2023 still os necessary?

bambanx