Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maskable site icon doesn't use padding area when installed via Firefox for Android on Samsung devices #8

Open
Ambient-Impact opened this issue Jun 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Ambient-Impact
Copy link
Member

On the desktop, it looks as it should when installed both via Firefox and Chrome:
A screenshot of the Omnipedia icon on a user's desktop.

However, the story is different when the icon is shown in the app switcher.

Chrome looks as expected:
Screenshot of the Omnipedia app icon in the app switcher; the icon fills the full maskable area.

But Firefox does not:
Screenshot of the Omnipedia app icon in the app switcher; the icon does not fill the full maskable area, but is instead scaled down so the full square fits in the squircle.

Chrome does some extra stuff when installing a web app, seemingly packaging it into an APK or similar and installing it more like a "traditional" Android app, which is likely why they don't run into this problem. Firefox is more direct and lightweight in that respect, but might be running afoul of launcher bugs due to that.

There doesn't seem to be much to be found online about this, but these seem notable:

  1. https://dev.to/progressier/why-a-pwa-app-icon-shouldnt-have-a-purpose-set-to-any-maskable-4c78
  2. https://stackoverflow.com/questions/60156733/how-do-i-trigger-adaptive-maskable-icon-for-pwa-in-android-task-switcher
@Ambient-Impact Ambient-Impact added the bug Something isn't working label Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant