bubblewrap icon indicating copy to clipboard operation
bubblewrap copied to clipboard

Android icon is streched

Open ttimot24 opened this issue 3 years ago • 3 comments

Describe the bug I just started to use Bubblewrap instead Cordova. Everything works fine but the icon. I have every size generated, 72, 192, 512 and 1024. Every icon size is stretched on Android.

https://player.forrasradio.hu/assets/icons/icon-512.png

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: Every phone and Tablet
  • OS: Android 11, 12 and 13
  • Browser Chrome
  • Version [e.g. 22]

Additional context It was working fine with cordova

ttimot24 avatar Jan 29 '23 11:01 ttimot24

Hey @ttimot24,

I generated the app with Bubblewrap, using this Web Manifest. The output icons, listed below, don't seem stretched. Am I looking for the issue described at the wrong place?

  • store_icon.png store_icon
  • ic_launcher.png ic_launcher
  • ic_maskable.png ic_maskable

andreban avatar Jan 30 '23 08:01 andreban

Meanwhile I solved the issue. Turns out Bubblewrap does not resize intelligently the icon as cordova does. I added the safe zone to the icon and it works fine now.

ttimot24 avatar Jan 30 '23 15:01 ttimot24

Can you provide more information on what you mean by intelligently? Does it mean the input image wasn't square?

andreban avatar Feb 02 '23 17:02 andreban