react-native-ionicons icon indicating copy to clipboard operation
react-native-ionicons copied to clipboard

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

Open lukewlms opened this issue 5 years ago • 4 comments

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.

lukewlms avatar Mar 23 '20 21:03 lukewlms

Oh, my god!

arniu avatar Mar 24 '20 01:03 arniu

Can you remove 4.x and try it again?

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

arniu avatar Mar 26 '20 00:03 arniu

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

lukewlms avatar Mar 26 '20 14:03 lukewlms

hello encountered on my project

jay0911 avatar Jan 12 '21 12:01 jay0911