Skip to content

MaterialDeisgnIcons not rendering on Android #1844

@maXXCZ1

Description

@maXXCZ1

Which package are you using?

@react-native-vector-icons/*

What platform(s) does this occur on?

Android

Minimal reproducible example

No response

What happened?

Hello,

i am having problem to render Material Design Icons on Android.

   "react-native": "0.81.1",
    "@react-native-vector-icons/fontawesome": "^12.3.0",
    "@react-native-vector-icons/ionicons": "^12.3.0",
    "@react-native-vector-icons/material-design-icons": "^12.3.0",
    "@react-native-vector-icons/material-icons": "^12.3.0",
import MaterialDesignIcons from "@react-native-vector-icons/material-design-icons";
import Ionicons from "@react-native-vector-icons/ionicons";
import FontAwesome from "@react-native-vector-icons/fontawesome";
import MaterialIcons from "@react-native-vector-icons/material-icons";

Once i use non existing icon name={"123456789"}, each icon set produces same placeholder icon ? . So it works properly.

But once i use concrete icon names for each set, Material design fails to render each time, tried for multiple icon names.

Image

Please see attached file, first icon on top.

Image

I've tried:

Deleted node modules, cleared caches, rebuilt app, checked if there is glyphmaps and fonts folders/files in node_modules/@react-native-vector-icons/material-design-icons

Eeverything looks fine.

Relevant log output

Your computer environment

System:
  OS: Windows 11 10.0.26100
  CPU: "(24) x64 AMD Ryzen 9 5900X 12-Core Processor            "
  Memory: 10.59 GB / 31.93 GB
Binaries:
  Node:
    version: 20.19.4
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.19
    path: ~\AppData\Roaming\npm\yarn.CMD

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions