Closed devWaleed closed 5 years ago
I have the same issue unfortunately.
Same here, I am using a different custom font as well so I don't believe that part of it is done incorrectly. I am using "version": "6.0.1" and am invoking it with
@devWaleed were you able to get it working ?
@bmcn99 thanks, I got it working after change hyphens to underscores in the file names
I open a PR with that solves the hyphens problem, allowing to use the original files with hyphens. https://github.com/entria/react-native-fontawesome/pull/61
In this PR has a working sample project to so you can see how to use properly, because there are some breaking changes on it.
A new version was released, please, check if in the new version this problem was fixed and feel free to reopen this issue if wasn't.
PS: REMEBER TO SEE THE NEW DOCUMENTATION BECAUSE THERE ARE SOME BREAKING CHANGES
i am using the 7.0.0 version and i am still getting a box with cross.. i tried with parseiconname too but it shows error saying parseIconName is not a function...
Fonts are either showing as a box with cross or some Chinese characters.
I have put my .ttf files in assets/fonts folder and run react-native link command.