4 ms·
If your users are clicking a button then it should actually show the permission prompt, unless you're losing the user interaction somewhere in the callback (by
by johannh 7y ago
If your users are clicking a button then it should actually show the permission prompt, unless you're losing the user interaction somewhere in the callback (by doing something async first)
https://hacks.mozilla.org/2019/11/upcoming-notification-permission-changes-in-firefox-72/ https://hacks.mozilla.org/2019/11/upcoming-notification-perm...
This is a frequent "mistake"/issue however, and we're working on a mitigation for it.
- megous 7y agoI'm doing this: https://megous.com/dl/tmp/sub.txt https://megous.com/dl/tmp/sub.txt I guess this is then happening because I'm first checking if there's a subscription via `pushManager.getSubscription` before creating a new one in the event handler. Yep, dropping getSubscription makes the popup appear again.