xcode – React Native iOS – Unrecognized Font Household with “npx react-native-asset”

0
28

[ad_1]

I do not perceive why the fonts are usually not loading for iOS. I am presently testing within the simulator. On Android these fonts have been loaded and work with npx react-native-asset

react-native.config.js

module.exports = {
  challenge: {
    ios: {},
    android: {},
  },
  property: ['./src/assets/fonts/'],
};

link-assets-manifest.json (auto-created by command)

{
  "migIndex": 1,
  "information": [
    {
      "path": "src/assets/fonts/poppins-400.ttf",
      "sha1": "fdd3002e7d814ee47c1c1b8487c72c6bbb3a2d00"
    },
    {
      "path": "src/assets/fonts/poppins-500.ttf",
      "sha1": "283f21b44efbdbf276ba802be2d949a36bbc4233"
    },
    {
      "path": "src/assets/fonts/poppins-700.ttf",
      "sha1": "875cf0cecd647bcf22e79d633d868c1b1ec98dfa"
    },
    {
      "path": "src/assets/fonts/poppins-900.ttf",
      "sha1": "645e04c53c6b5b35bce654a811ebce16af8aa721"
    }
  ]
}

What my Xcode and simulator seem like:

enter image description here

enter image description here

enter image description here

enter image description here

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here