jsmarcus / Iconize

Use icon fonts in your Xamarin.Forms application!
Other
204 stars 70 forks source link

Font awesome solid icons stopped working with 3.5.0.129 on Android #157

Open Kilowhisky opened 5 years ago

Kilowhisky commented 5 years ago

I recently upgraded from FA 3.5.0.117 to the latest 3.5.0.129 and it appears that FA solid icons stopped working on Android. The regular icons and brand icons work though. I've confirmed that the ttf files are being placed into the apk.

I backtracked the packages and the last stable configuration for FA for me was the following.

Everything works as expected on iOS.

See the images for the differences. // 3.5.0.129 image

// 3.5.0.123 image

Here are my versions

ricavir11 commented 5 years ago

Same issue

decv86 commented 5 years ago

Same issue for iOS when change font text in code.

decv86 commented 5 years ago

Test project - icons no show -Xamarin 4

2019-06-14_10-27-32

Joebu commented 5 years ago

to me it looks like the issue is when updating to xamarin 4

decv86 commented 5 years ago

Will there be a fix? Is there any alternative to this package?

Kilowhisky commented 5 years ago

@Joebu I'm actively using xamarin 4 with no problems.

@decv86 It works for me with the following versions.

Xamarin.Forms - 4.0.0.497661 Xam.Plugin.Iconize - 3.5.0.129 Xam.Plugin.Iconize.FontAwesome - 3.5.0.123

decv86 commented 5 years ago

@Kilowhisky

Xamarin.Forms - 4.0.0.497661 Xam.Plugin.Iconize - 3.5.0.129 Xam.Plugin.Iconize.FontAwesome - 3.5.0.123

Maybe, but if you need to change the size of the icon depending on the requirements in the application execution mode, does it work?

decv86 commented 5 years ago

In connection with such bugs, it was customary to switch to native support in Xamarin 4, an alternative here https://montemagno.com/using-font-icons-in-xamarin-forms-goodbye-images-hello-fonts/, thanks for the time use this plugin!

Joebu commented 5 years ago

@Kilowhisky @decv86 any luck?

decv86 commented 5 years ago

@Joebu No, i removed this repo, use FontImageSource. Link top

Joebu commented 5 years ago

@decv86 I did the same thanks

kgbuddhima commented 5 years ago

I also have the same issue on Android and iOS

Goksly commented 5 years ago

It's a shame as it looks like this is no longer supported. Gutted as I've just finished most of my development on iOS where it works great.

kgbuddhima commented 5 years ago

Downgraded to 3.5.0.123 and it worked. However to get it work on iOS, I had to add the fonts to Resources folder and set the build action to BundleResources.

danielmeza commented 5 years ago

Downgraded to 3.5.0.123 and it worked. However to get it work on iOS, I had to add the fonts to Resources folder and set the build action to BundleResources.

The last step is always required on iOS

cklenk commented 5 years ago

I too had to downgrade to 3.5.0.123 and it worked again for me on Android.

IanLJohnson commented 5 years ago

Looks like same issue as https://github.com/jsmarcus/Iconize/issues/161#issuecomment-521656591