AathifMahir / MauiIcons

MauiIcons is Icon Collection Library for .Net Maui
MIT License
218 stars 14 forks source link

Font asset not found exception on startup #116

Open adospace opened 3 months ago

adospace commented 3 months ago

Describe the bug After setting up Fluent icons an exception is raised at startup: java.lang.RuntimeException: Font asset not found /data/user/0/com.companyname.mauiapp28/cache/Fluent_Icons_Regular.ttf at android.graphics.Typeface.createFromAsset(Typeface.java:1061)

even if the icons are correctly displayed.

To Reproduce Steps to reproduce the behavior:

  1. Create a brand new MAUI project
  2. Setup Fluent Maui Icons
  3. Show an icon on the page
  4. An internal exception is raised

Expected behavior No exception should be raised

Screenshots image

Desktop and Smartphone (please complete the following information):

Additional context Attached sample project the reproduce the issue MauiApp28.zip

AathifMahir commented 3 months ago

Seems like an Issue with Maui Itself https://github.com/dotnet/maui/issues/24059

Will look into this further to figure out, if the issue is only from Maui or also Both the MauiIcons and Maui Causing it

MaxxDelusional commented 1 month ago

I am seeing this issue too. Will this prevent my app from passing the Play Store verification process?

AathifMahir commented 1 month ago

I am seeing this issue too. Will this prevent my app from passing the Play Store verification process?

Unfortunately, This issue has to do with Maui as far as My Testing, We should probably need to wait for fix on Maui Side of things. Additionally I don't think Google Play Store would Flag and Prevent you from publishing a new build