I'd like to develop a PWA and push notifications are very important for the UX. I would want that notifications could be received from users even when the app (the browser, actually) is closed, just the way how push notifications work on native apps...i already know that i will need to use GCM, as well as a Service that "listens" for notifications and sends an intent if and when they are delivered. Can i achieve the same behaviour into browser, maybe using service workers?
Furthermore, i've tried a PWA demo for push notifications, from Google, and this is what it show.
Native apps, such as whatsapp can show a different format of notification
Does it depend from a potential difference beetween browser and native app? can i customize notification widget format for PWAs? Is it indipendent from the installed browser?
Thanks in advance for the answers!

