HomeiOS Developmentios - React Native Components icons (react-native-vector-icons) exhibiting a query mark as...

ios – React Native Components icons (react-native-vector-icons) exhibiting a query mark as a substitute of precise icon


I’ve the difficulty the place the icons on react native components from react-native-vector-icons are usually not exhibiting, as a substitute they present as a query mark.

I attempted even going to this listing of icons and mess around with the title and no luck.
https://oblador.github.io/react-native-vector-icons/

That is the way it appears proper now.
IOS Preview

That is how I received my package deal.json

{
  "title": "LimitCalisthenics",
  "model": "0.0.1",
  "personal": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "lint": "eslint .",
    "begin": "react-native begin",
    "check": "jest"
  },
  "dependencies": {
    "@react-native-community/masked-view": "^0.1.11",
    "@react-navigation/native": "^5.9.8",
    "@react-navigation/stack": "^5.14.9",
    "@rneui/base": "^4.0.0-rc.7",
    "@rneui/themed": "^4.0.0-rc.7",
    "pod-install": "^0.1.38",
    "react": "18.2.0",
    "react-native": "0.72.0",
    "react-native-gesture-handler": "^2.12.0",
    "react-native-reanimated": "^3.3.0",
    "react-native-safe-area-context": "^4.6.3",
    "react-native-screens": "^3.22.0",
    "react-native-vector-icons": "^9.2.0"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/preset-env": "^7.20.0",
    "@babel/runtime": "^7.20.0",
    "@react-native/eslint-config": "^0.72.2",
    "@react-native/metro-config": "^0.72.6",
    "@tsconfig/react-native": "^3.0.0",
    "@sorts/metro-config": "^0.76.3",
    "@sorts/react": "^18.0.24",
    "@sorts/react-test-renderer": "^18.0.0",
    "babel-jest": "^29.2.1",
    "eslint": "^8.19.0",
    "jest": "^29.2.1",
    "metro-react-native-babel-preset": "0.76.5",
    "prettier": "^2.4.1",
    "react-test-renderer": "18.2.0",
    "typescript": "4.8.4"
  },
  "engines": {
    "node": ">=16"
  }
}

Adopted this information when putting in React Native Components
https://reactnativeelements.com/docs/set up

That is how I’ve my element
https://codeshare.io/9OJA37

  • Macbook Professional M1
  • Ventura OS
  • NodeJS 16
  • IOS (Simulator for testing on XCode)
  • React Native CLI
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments