|
|
|
|
|
by johannh
2354 days 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-perm... This is a frequent "mistake"/issue however, and we're working on a mitigation for it. |
|
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.