0

Error: "Unrecognized font family"

I cannot for the life of me figure out why my custom fonts are not being recognized.

I have done the following:

  1. Add custom font files in assets/fonts folder. I tried multiple different fonts.
  2. Create react-native.config.js file with "assets": ['./assets/fonts']
  3. Pod deintegrate / pod install
  4. npx react-native-asset
  5. Update the plist values in xcode to point to the fonts

*I am running react-native 0.71.5

RNdev
  • 21
  • 2
  • **DO NOT post images of code, data, error messages, etc.** - copy or type the text into the question. [ask] – Rob Apr 20 '23 at 01:36

1 Answers1

1

Did you tried to link your assets ?

npx react-native link 

npx react-native-asset
Aous Mohammad
  • 802
  • 2
  • 16
  • Yes, it looks like that command has been automatically integrated as of 0.60.0. https://stackoverflow.com/questions/49874385/what-is-react-native-link – RNdev Apr 20 '23 at 17:41