Better handling of push subscriptions in PWA

digitalpoint

Well-known member
Affected version
2.2.12
Was logged into the XF PWA app and then changed my password from my computer, which logged my out of PWA as expected (even though I was still getting push notifications). When I logged back into PWA, I realized I wasn’t getting push notifications anymore (and also didn’t get the small notice to enable them). Ended up needing to go digging in account settings in the PWA version to manually re-enable push notifications after logging back in.

Seems like this should be handled better… maybe don’t revoke the push subscription when you log in if you are logging in with the same user account? If push subscription is removed when anyone logs in, maybe also makes sense to reset the cookie that tracks if the user wants push notifications?
 
Top Bottom