New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icon shown as X or Chinese character #89
Comments
I don't know what may have broken it from migrating to TypeScript, not enough information for me to say. Also that indicates that it's not an issue with the library but with your config |
I understand that, but shouldn't there be any kind of checks in place to add a warning/pointer/log anything to indicate what the issue was? It's nearly impossible to debug an issue if I follow the instructions written in the README, and somehow end up with a badly broken package with erratic that throws absolutely no exception. |
ideally, but I have never encountered such an issue so it's unclear how I would detect it (or if its even detectable). if you can post a reproducible example I can look into it! |
I have solved my issue, and it had indeed nothing to do with expo. In the Basically, this:
had to be changed to this:
I don't know why the symptoms of this were that the icons wouldn't render anymore, but I don't see how it could be detected on expo's side since the issue is pretty much not using expo in the first place. I'm sorry for opening an issue on this. Keep up to good work! |
it seems that I had created an issue to warn about this this a while ago but never got around to it, I'll make sure to do it soon - expo/expo#1036 |
This error usually occurs on Samsung phones with newer Android phones, not on other brands or phones. |
I'm having this same issue on a Galaxy s9. Any fix yet? |
I changed this inside index.js, but still having the same issue. Encountered after upgrading to SDK 40 |
if you have a custom metro.config.js make sure you are using @expo/metro-config as the base, as described in https://docs.expo.io/guides/customizing-metro/ and in sdk 40 release notes |
I'm having the same issue on SDK 40, have you found a fix yet? |
|
for everyone who is still facing the issue and is using a custom icon like Fontello, in my case inside the android prebuild generated folder the folder asset/font/[name of the font].ttf was missing, after adding it to the folder, the whole icon started to work properly I suspect the |
Very basic usage:
When using FontAwesome, this will show as a square with an X in it.
When using Ionicons it will be a Chinese character (using another icon than
circle-o
)My project uses typescript, here is the package.json file:
I cleared all app data as a sanity check, also deleted and re-installed my
node_modules
folder. My project was made in regular Javascript then migrated over to TypeScript (which then broke it).The text was updated successfully, but these errors were encountered: