Skip to content
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

5.0: Icon indexes are wrong (with 4.x also installed) #18

Open
lukewlms opened this issue Mar 23, 2020 · 4 comments
Open

5.0: Icon indexes are wrong (with 4.x also installed) #18

lukewlms opened this issue Mar 23, 2020 · 4 comments

Comments

@lukewlms
Copy link

lukewlms commented Mar 23, 2020

I'm trying to get 5.0 beta working, but passing the icon name returns a different icon every time.

"airplane" returns a football
"add-circle-outline" returns add
"football" returns a test tube
"football-sharp" returns a folder

The icons also do not look like the Ionicons 5 icons, so I'm guessing that react-native-ionicons is actually accessing a previous version of the library. We have other libraries that include Ionicons and may conflict (e.g. native-base). Do you have any advice to get react-native-ionicons to use the correct 5.0 font?

Thanks - I'd love to get this up and running as it's the only library that appears to support the 5.0 icon set.

@arniu
Copy link
Owner

arniu commented Mar 24, 2020

Oh, my god!

@arniu
Copy link
Owner

arniu commented Mar 26, 2020

Can you remove 4.x and try it again?

According to the Ionicons CHANGELOG, icon names change a lot.

@lukewlms
Copy link
Author

I'll work on trying this - it's a bit tricky because two other libs we use fairly extensively have 4.0 as dependencies.

@jay0911
Copy link

jay0911 commented Jan 12, 2021

hello encountered on my project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants