w3c / push-api

Push API
https://w3c.github.io/push-api/
Other
145 stars 40 forks source link

Firing `pushsubscriptionchange` when permission is regranted #236

Open beverloo opened 7 years ago

beverloo commented 7 years ago

Firefox currently fires pushsubscriptionchange when an origin gets permission regranted.

We are considering doing the same in a slightly different scenario; some operating systems enable users to disable entire applications (i.e. the browser) from showing notifications. Since we still tie push to notifications, it may not make sense to continue receiving messages in this scenario. When the user allows the application to show notifications again, suspended subscriptions should be able to be reinstated.

I don't think it's a good idea to specify the specific circumstances under which this can happen. Rather, we need to make sure that the language we have allows for these use-cases.

/cc @kitcambridge

shehi commented 2 years ago

4 years passed. Crossing fingers for the 5th... :)