Open Luckygirlllll opened 6 years ago
Did you check the version of FontAwesome??
Version 4.7.0 works fine with me
Here's your download URL
I get this same error and I followed the instructions to add the font file via the links given. @rturk @arnebr
Having the same issue. I think you need to download / install the ttf manually. It does not say what the naming convention is.
I think you need to download / install the ttf manually
@paul-hart did you figure it out? I downloaded manually but still same issue.
Running into the same issue. I found out you have to do the following (it's missing from the instructions):
Note: you can add the font from your project folder, no need to manually copy it.
With the very latest version of the free FontAwesome that I just downloaded, its font name (not filename) is "FontAwesome5FreeRegular" and not "FontAwesome". So renaming the fontFamily
in Icon.js to "FontAwesome5FreeRegular" fixes this for me.
same problem
Same issue. Unrecognized font family "FontAwesome" error in simulator.
Actually the font family in iOS is now "Font Awesome 5 Free" (FA really broke everything this time).
Import Platform into Icons.js and add this:
FAB: Platform.OS == 'ios' ? "Font Awesome 5 Free" : 'fa_solid_900'
Weird that nobody reported this.
In my case I just grabbed the sample project fonts and used those instead of the broken new ones, it worked and I didn't had to modify any file.
I got an error "Unrecognized font family "FontAwesome", after the adding library to the project. How is possible to fix that?