Iconize icon indicating copy to clipboard operation
Iconize copied to clipboard

Font awesome solid icons stopped working with 3.5.0.129 on Android

Open Kilowhisky opened this issue 5 years ago • 17 comments

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.

  • Xam.Plugin.Iconize 3.5.0.129
  • Xam.Plugin.Iconize.FontAwesome 2.5.0.123

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

  • Xamarin.Forms 3.6.0.344457 (tested and same result on 4.0)
  • Android Target 9.0 (API 28)
  • Min android version 4.0.3

Kilowhisky avatar Jun 06 '19 15:06 Kilowhisky

Same issue

ricavir11 avatar Jun 11 '19 07:06 ricavir11

Same issue for iOS when change font text in code.

decv86 avatar Jun 13 '19 13:06 decv86

Test project - icons no show -Xamarin 4

2019-06-14_10-27-32

decv86 avatar Jun 14 '19 07:06 decv86

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

Joebu avatar Jun 19 '19 18:06 Joebu

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

decv86 avatar Jun 21 '19 14:06 decv86

@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

Kilowhisky avatar Jun 21 '19 20:06 Kilowhisky

@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 avatar Jun 23 '19 16:06 decv86

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!

decv86 avatar Jun 24 '19 10:06 decv86

@Kilowhisky @decv86 any luck?

Joebu avatar Jun 24 '19 19:06 Joebu

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

decv86 avatar Jun 24 '19 19:06 decv86

@decv86 I did the same thanks

Joebu avatar Jun 24 '19 20:06 Joebu

I also have the same issue on Android and iOS

kgbuddhima avatar Jul 09 '19 09:07 kgbuddhima

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.

Goksly avatar Jul 09 '19 14:07 Goksly

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.

kgbuddhima avatar Jul 09 '19 15:07 kgbuddhima

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

danielmeza avatar Jul 16 '19 13:07 danielmeza

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

cklenk avatar Jul 29 '19 21:07 cklenk

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

IanLJohnson avatar Aug 16 '19 08:08 IanLJohnson