[GH-ISSUE #789] Firefox on Android not automatically subscribing to web push #564

Closed
opened 2026-05-07 00:25:26 +02:00 by BreizhHardware · 0 comments

Originally created by @nimbleghost on GitHub (Jun 28, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/789

🐞 Describe the bug

ntfy defaults to web-push based subscriptions when installed as a PWA. Firefox Android has an open bug where it reports the PWA mode incorrectly. This causes ntfy to not automatically subscribe to web push, and requires you to go to the ntfy Settings page to enable it manually.

💻 Components impacted

Web app, Firefox for Android only

💡 Screenshots and/or logs

🔮 Additional context

window.matchMedia("(display-mode: standalone)").matches === false on Firefox for Android, even when it is opened as a standalone PWA.

Originally created by @nimbleghost on GitHub (Jun 28, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/789 :lady_beetle: **Describe the bug** <!-- A clear and concise description of the problem. --> ntfy defaults to web-push based subscriptions when installed as a PWA. Firefox Android has an [open bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1796434) where it reports the PWA mode incorrectly. This causes ntfy to not automatically subscribe to web push, and requires you to go to the ntfy Settings page to enable it manually. :computer: **Components impacted** <!-- ntfy server, Android app, iOS app, web app --> Web app, Firefox for Android only :bulb: **Screenshots and/or logs** <!-- If applicable, add screenshots or share logs help explain your problem. To get logs from the ... - ntfy server: Enable "log-level: trace" in your server.yml file - Android app: Go to "Settings" -> "Record logs", then eventually "Copy/upload logs" - web app: Press "F12" and find the "Console" window --> :crystal_ball: **Additional context** <!-- Add any other context about the problem here. --> `window.matchMedia("(display-mode: standalone)").matches === false` on Firefox for Android, even when it is opened as a standalone PWA.
BreizhHardware 2026-05-07 00:25:26 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#564
No description provided.