SamsungInternet / support

For general Samsung Internet support. You can use the Issues register here as a way to ask support questions.
MIT License
18 stars 0 forks source link

TypeError: No notification permission has been granted for this origin. #29

Closed coox closed 5 years ago

coox commented 6 years ago

Dear Samsung Internet Dev Rel Team,

We have deployed a PWA that takes regularly sends push notifications to users who explicitly granted permission when prompted.

We have noticed that some of our pushes do result in an error that we do not understand. What we could gather is as follows:

The way we prompt the user for permissions is nothing special, we are using PushManager.subscribe() the regular way:

PushManager.subscribe({ userVisibleOnly: true });

Is there anything special that we should be doing in addition to this to avoid this error?

Many thanks!

coox commented 6 years ago

(very likely related to #24, as reported by @poshaughnessy)