Iconize icon indicating copy to clipboard operation
Iconize copied to clipboard

Icons appears as a question mark

Open saimel opened this issue 5 years ago • 23 comments

Hi,

After installing this plugin into a new app, all icons appear as a question mark, I also updated versions of Xamarin Forms and Iconize to latest into another app I developed a few months ago and now I have this problem in both apps. Any idea about it??

saimel avatar Mar 03 '19 21:03 saimel

Same problem here. Icons appear as question mark when called in canvas and stay in text "fas-iconname" when used with IconButton.

Xamarin.Forms 3.5.0.169047 Xam.Plugin.Iconize 3.5.0.117

venixsoftwaregeneral avatar Mar 04 '19 17:03 venixsoftwaregeneral

Same problem in IconTabbedPage

ClausElmann avatar Mar 05 '19 14:03 ClausElmann

Rollback to v3.5.0.114 and it's working.

Duplicate of #126

jrcpereira avatar Mar 06 '19 16:03 jrcpereira

Rollback to v3.5.0.114 and it's working.

v 3.5.0.117 is working fine on android but on ios i get the question mark icons i also tried downgrading to 3.5.0.114 but it still wont show the proper icons on ios I am using fontawesome only

Mr-Pearce avatar Mar 13 '19 10:03 Mr-Pearce

3.5.0.114 is working fine for me on iOS with Forms 3.5.0.169047. Did you tried to clean up solution and delete bin and obj folders?

jrcpereira avatar Mar 13 '19 10:03 jrcpereira

i had Forms 3.6.0.220655 downgrading to 3.5.0.169047 is not working with 3.5.0.114 iconize also cleaned and rebuilded everything

Xam.Plugin.Iconize (114) is installed in my main project(net standard) and two shared project(net standard)

FontAwesome is only installed inside my main project

Mr-Pearce avatar Mar 13 '19 11:03 Mr-Pearce

Same here, I'm on forms 3.6.0.220655 and the icon shows up as a question mark. Any workarounds other than downgrading Forms?

I installed Xam.Plugin.Iconize and FontAwesome in all three of my projects.

hjavaher avatar Mar 18 '19 06:03 hjavaher

I found out a solution in another thread: I downloaded ttf files, added as BundleResource to my iOS project and everything works out. I've not test it on Android.

saimel avatar Mar 22 '19 14:03 saimel

@saimel what version of Forms and Iconize are you running?

Jsberry92 avatar Mar 22 '19 14:03 Jsberry92

@Jsberry92 sorry about not specifying versions info, I just forgot it. I'm running these ones:

  • Xamarin.Forms 4.0.0.232914-pre6
  • Xam.Plugin.Iconize 3.5.0.117
  • Xam.Plugin.Iconize.Material 3.5.0.117
  • Xam.Plugin.Iconize.MaterialDesignIcons 3.5.0.117

I'd like to add I just updated Xamarin.Forms from version 3.6.XX three days ago, I tried to solve this issue by using different versions of Xamarin.Forms and Xam.Plugin.Iconize with no success.

saimel avatar Mar 22 '19 15:03 saimel

@saimel I tried to download the .ttf files from this repository and added inside the Resources folder in the iOS project (as BundleResource), but didn't work. I'm using Xamarin.Forms 3.5.0.169047 Xaml.Plugin.Iconize 3.5.0.117 Xaml.Plugin.Iconize.FontAwesome 3.5.0.117 Also I tried to downgrade to Iconize 3.5.0.114 but didn't work.

Tmaturano avatar Mar 22 '19 16:03 Tmaturano

@Tmaturano did you add Fonts to info.plist file ?

saimel avatar Mar 22 '19 18:03 saimel

@Tmaturano exactly what @saimel said, I added the fonts(the ones you need, in my case all the ones that said fontawesome) to the info.plist and then added the ttf files from the repo with the same name (rename if necessary) and in the properties of each ttf file make sure the build action is set to BundleRespource (should be default). This did it for me

<key>UIAppFonts</key> <array> <string>iconize-entypoplus.ttf</string> <string>iconize-fontawesome-regular.ttf</string> <string>iconize-fontawesome-solid.ttf</string> <string>iconize-fontawesome-brands.ttf</string> <string>iconize-ionicons.ttf</string> <string>iconize-material.ttf</string> <string>iconize-meteocons.ttf</string> <string>iconize-simplelineicons.ttf</string> <string>iconize-typicons.ttf</string> <string>iconize-weathericons.ttf</string> </array>

hjavaher avatar Mar 22 '19 18:03 hjavaher

Yeah, that did the trick, thanks guys

Tmaturano avatar Mar 22 '19 18:03 Tmaturano

just tested it and it works Xamarin.Forms 3.5.0.169047 Xaml.Plugin.Iconize 3.5.0.117 Xaml.Plugin.Iconize.FontAwesome 3.5.0.117 and putting the fontawesome ttfs inside the ios projcet root

Thanks guys!

Mr-Pearce avatar Mar 25 '19 15:03 Mr-Pearce

So this seems to fix iOS but breaks Android. To get Android to work I'm having to role back (on the Android project) Iconize & Iconize.FontAwesome to 3.5.0.114.

I have also tried multiple versions of Xamarin.Forms but nothing works on Android until I roll Iconize back.

Wasn't sure if other people were experiencing this or if I am doing something wrong. But I suppose if that's all I have to do to get Android working for now then that's what I will do.

Jsberry92 avatar Apr 01 '19 15:04 Jsberry92

Currently to get Android to work with the latest you will need to target SDK 28. There is a fix for this coming.

jsmarcus avatar Apr 01 '19 15:04 jsmarcus

Thank you @jsmarcus works like a charm!

Jsberry92 avatar Apr 01 '19 17:04 Jsberry92

@jsmarcus I'm having the same issue . It happens on IOS . I tried everything but it didn't work .

Xamarin.Forms 3.5.0.169047 Xam.Plugin.Iconize 3.5.0.117

Please man , I've been trying for two weeks now . Can you help pleaseee

Pirate911 avatar Apr 12 '19 20:04 Pirate911

@Pirate911 had you try to download ttf files and add it as Bundle Resource to your iOS project?

saimel avatar Apr 17 '19 20:04 saimel

@Pirate911 had you try to download ttf files and add it as Bundle Resource to your iOS project?

Yes I did all that and I'm certain all required steps are correct .

Pirate911 avatar Apr 26 '19 19:04 Pirate911

I can confirm after going through each above step, including ttf files, I am still seeing questions marks as well

Chris-Niles avatar Apr 26 '19 20:04 Chris-Niles

@Chris-Niles @Pirate911 did u find any solution?

Waaheeda avatar Jun 09 '21 13:06 Waaheeda