I would like to use custom font in my app, but I keep getting error
[RCTLog][tid:0x78f70450][RCTConvert.m:581]>Unrecognized font family \'Roboto\'
Create a new group Fonts within your Xcode project
Drag and drop fonts from Finder to the Fonts group you just created, and check your project name in Add to targets list
Expand your project name folder within the main directory in your project and open Info.plist
Add Fonts provided by application as a new key
Add a new item under Fonts provided by application, and set the item value to the full font name with extension for each font you've added to the fonts folder
OpenSans-ExtraBold.ttf, then that should be the value of the item.To use the font in React Native, simply set the fontFamily style attribute for the element (see this). Note that the style should use the name of the font rather than the file name.
fontFamily: 'Open Sans'Run Shift + Command + K to clean last build
Then Command + B to start a new build
And finally Command + R to run the application
If you still see the error Unrecognized font family restart your react packager.
https://github.com/alucic/react-native-cheat-sheet
Hope it helps!