Closed othAlmubarak closed 11 months ago
I ran into the same issue today. Running fc-scan
on the pro font files returned this:
postscriptname: "FontAwesome6Pro-Regular"(s)
... which looks suspicious. Any chance the upgrade script is pulling the latest version of FA (version 6) instead of 5? Replacing the ttf files with an older copy of "real" FontAwesome5 pro ttf files fixed the issue for me 👍
@Maddoc42 exactly I installed the font without the package and used it with the name as 'Font Awesome 6 Pro Solid' and it worked. In the end, I switched to 'react-native-fontawesome'
Still no fix? I've encounter the same issue
i have the same issue'??? .
i just switched to https://github.com/FortAwesome/react-native-fontawesome
If anyone still has this issue,
npm uninstall react-native-vector-icons
info.plist
if you're using iOS)Closing as OP has moved to a different library. Please open a new issue if you are having the same problem
Environment
OS: IOS packages version
Description
I've been trying to upgrade to FontAwsome5Pro, but I keep getting " unrecognized 'FontAwsome5Pro-Regular' "
I did the following:
1-upgraded to pro as the FontAwsome5Pro README suggest
2-executed "react-native link" 3-add Fonts group to Xcode
4-added font to "copy build phase/copy bundle resources"
5-added new fonts to info.plist
and still getting "unrecognized 'FontAwsome5Pro-Regular' " error