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\'
add the font files (i.e. .otf OR .ttf) in root/assets/font folder in your project.
in package.json: rnpm: "assets": ["./assets/font"],
react-native.config.js
module.exports = {
project: {
ios: {},
android: {},
},
assets: ['./assets/fonts']
};
fontFamily: 'Robotto-Regular'
This should resolve any errors which will be coming of fonts not supporting and you can use your custom fonts.