-
Hi guys I've been having this problem for a really long time now. I'm really hoping someone has overcome this issue. We already have an app that is being developed, but we have decided to build micro-frontends to strip out some features into separate modules. The existing app does not have this problem. I've created a react native module, with an example app within it to test it. The code is mostly copied over from the existing app mentioned above, with some changes here and there. The module uses react-native-paper. The example app runs fine on both ios and android, until I add icons. Once I add an icon from react-native-paper, from any component, I start getting this error: I get the same error on Android. I've tried loading the fonts within the component, but I just cannot seem to over come this issue. This is the error I get in the terminal:
This is my package.json:
my app.json:
my babel.config.ts:
my metro.config.js:
Please help!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answer posted here: |
Beta Was this translation helpful? Give feedback.
Answer posted here:
https://stackoverflow.com/questions/70708437/material-community-icons-are-undefined/70834529#70834529