Closed ColtraneNadler closed 6 days ago
I had something similar. I had to check my /android/app/build.gradle
: and look into the end of the file:
project.ext.vectoricons = [
iconFontNames: [ 'MaterialCommunityIcons.ttf' ]
]
apply from:file("../../node_modules/react-native-vector-icons/fonts.gradle");
This is how my file looks now. In my case I was missing MaterialCommunityIcons
and had Ionicicons
or whatever was its name.
can you please tell me react-native-vector-icons/MaterialIcons working on ios or not? i am trying since last week not able to use react-native-vector-icons/MaterialIcons in ios
I am developing only for Android and haven't built anything for iOS (yet). But from the other issues I'm seeing there might be some problem with newer versions and iOS #1604. I am using "react-native-vector-icons": "10.0.3", "react-native": "0.73.6", "react": "18.2.0" without expo. Not sure if using those save versions will do the trick for you.
i am having the issue in ios environment .... react-native 0.72.6 and 0.73.*
Can you run through these steps in troubleshooting https://github.com/oblador/react-native-vector-icons?tab=readme-ov-file#red-screen-with-unrecognized-font-family-error-on-ios
Closed due to no response
Environment
IOS
Description
Wrong icon is displayed, or not at all.
this displays![94c8f7a6bdc15f72db990a350c5ed6ea (1)](https://github.com/oblador/react-native-vector-icons/assets/8130184/0a331540-1ec5-4a09-82b2-2025aba972cc)
I have tried reinstalling. Cleaning build folder.