TheBigK
TheBigK

Reputation: 509

Do I need to ask permissions to send Push notifications separately, if the user has installed my PWA?

I'm currently exploring PWAs and wondering if it's mandatory to ask separate permission to enable Push notifications to the user who has already installed my PWA. Apps installed from App Store or Play store seem to automatically enable push notifications without asking for separate permission.

Thank you in advance.

Upvotes: 0

Views: 1215

Answers (1)

Smallwater
Smallwater

Reputation: 374

Yes. A PWA is, put very simply, a wrapper around a HTML page. It supplies several bonus features to the website, but at its heart, it's still a HTML5 page. This means that everything a regular webpage does, a PWA also does. This includes asking for permission for whatever thing you want to do, be it notifications, requesting location or capturing video.

Upvotes: 1

Related Questions