oblador / react-native-vector-icons

Customizable Icons for React Native with support for image source and full styling.
https://oblador.github.io/react-native-vector-icons/
MIT License
17.31k stars 2.12k forks source link

Unrecognized font family FontAwesome6Pro-Sharp_Solid #1533

Closed Mubashirkhan closed 8 months ago

Mubashirkhan commented 11 months ago

Environment

OS: Mac OSX 12.5.1 target platform: iOS react-native: 0.71.6 react-native-vector-icons: ^10.0.0

Description

Everything seems to work fine on Android. I can use other classes of FontAwesome6Pro like solid / sharp as well But if i try to use FontAwesome6Pro with class sharp_solid i get the error

Already added this in the info.plist file and font file is added to the target and can be seen in the bundle resources

<FontAwesome6ProIcon sharpSolid color={SOMECOLOR} name="SOMEICON" />

Simulator Screen Shot - iPhone 14 Pro Max - 2023-07-25 at 20 22 04

johnf commented 11 months ago

@Mubashirkhan Can you try the fix in #1536

fobin commented 9 months ago

I tried with that PR and still get error Unrecognized` font family 'FontAwesome6Free-Solid'