No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    icongenie 2.0 - android icons are solid white

    Help
    4
    6
    524
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • aitcheyejay
      aitcheyejay last edited by

      I’m generating icons/splash screens using icongenie and the utility is working great. I have an icon png (white icon) with a transparent background and my splash screens and icons look great (white icon with defined color in profile for background)…except for the Android icons. The background of all generated Android icons is white – and since my icon is white with a transparent background, I just have plain white icons, but only on Android. Again, iOS looks just fine and so do the splash screens on Android.

      Any thoughts? Thank you.

      My profile is:

      {
      “params”: {
      “quality”: “7”,
      “include”: [“capacitor”],
      “icon”: “src/assets/icon.png”,
      “pngColor”: “5f7055”,
      “splashscreenColor”: “5f7055”,
      “splashscreenIconRatio”: 30,
      “padding”: [2, 2]
      },
      “assets”: []
      }

      dobbel 1 Reply Last reply Reply Quote 0
      • aitcheyejay
        aitcheyejay last edited by

        If anyone has any guidance, I’d really appreciate it.

        Is there a setting specific to Android icon background color that I’m missing?

        1 Reply Last reply Reply Quote 0
        • aitcheyejay
          aitcheyejay last edited by

          Verified to be icongenie version 2.3.3.

          J 1 Reply Last reply Reply Quote 0
          • dobbel
            dobbel @aitcheyejay last edited by

            @aitcheyejay

            pngColor maybe what you need?

            pngColor : Background color to use for the png generator, when “background: true” in the asset definition (like for the cordova/capacitor iOS icons)

            See: https://quasar.dev/icongenie/profile-files

            1 Reply Last reply Reply Quote 0
            • J
              johnnyn @aitcheyejay last edited by

              @aitcheyejay did you ever fix this? I have the same problem.

              1 Reply Last reply Reply Quote 0
              • A
                aeiosapp last edited by

                Had the same problem, was able to fix it manually:

                • go to src-capacitor/android/app/src/main/res/values/ic_launcher_background.xml
                • ic_launcher_background.xml content should look like:

                <?xml version=“1.0” encoding=“utf-8”?>
                <resources>
                <color name=“ic_launcher_background”>#0062A0</color>
                </resources>

                • just change color code in the <color>!
                1 Reply Last reply Reply Quote 0
                • First post
                  Last post