0

I'm trying to use custom fonts in React-Native.

I have ran both react-native link and npx react-native link multiple times.

My error: Error shown

My react-native.config.js:

module.exports = {
  assets: ["./src/assets/fonts"]
};

My styling:

fontFamily: 'ProximaNova-Regular'

My react dependency versions:

"react": "16.9.0",
"react-native": "0.61.2",

Image of fonts

Hobey823
  • 276
  • 4
  • 13

2 Answers2

0

I fixed it by completely uninstalling the fonts from my project, and then reinstallingn carefully making sure everything was correct.

If you have had the same issues written in my question, do like i did and it should work.

Hobey823
  • 276
  • 4
  • 13
0

Try linking manually! Sometimes automatic linking does not do the job properly