Search code examples
iconsfirefox-os

Icon not displayed on Firefox OS Simulator


I just started developing applications for firefox OS. I done a sample application and it is working perfectly. My issue is in my simulator my application Icon is not displayed. It uses the default icon.

I added the below code in my manifest file:

"icons": {
    "128": "Feed.png"
  }

Added a 128 x 128 image named Frrd.png to my directory. But it is not working for me, what can be the issue ?


Solution

  • First Answer:

    Finally I got it.

    For Firefox OS the icon size should be of size 30 X 30 or 60 X 60.

    For Firefox Market place the icon size should be 128 X 128

    For Firefox OS icons should be provided without a drop shadow and a close cropped canvas in the following sizes:

    30 x 30
    60 x 60
    

    Note: Firefox Marketplace requires all submitted apps to have a minimum of one icon that is at least 128 x 128.

    Reference: Firefox OS - Style Guide


    Actual Solution

    I added all images with the dimensions specified in the doc to my application. But it also not worked !!!

    Atlast I added a directory img to my project and added icons to it. Then modified the manifest.webapp file like:

    "icons": {
        "128": "/img/Feed.png"
      }
    

    It worked for me, I don't know whether it is a bug or not.