Open xPaw opened 8 years ago
Why would we ask for permission when the user hasn't asked us to show them notifications yet?
The problem is that the notifications are enabled by default in Shout's settings, so the behaviour is quite inconsistent.
Wait, are they? I thought badge was set to false by default.
That's interesting. It is indeed badge: false
in the code. I guess I clicked close button some time ago when it asked for notifications.
Ah yes, that does bring up another bug. If you choose to enable the notification setting, but don't accept notifications, then you have to disable it and enable it again before you get asked again. We should probably think of a solution to that.
Currently you can have to disable/enable the setting to get the "page is asking for notification access" popup.