How to get prompted for website notifications in Chrome on Android?


#1

I use Google Chrome on Android. For a website that offers website notifications, how do I get prompted to allow those notifications in Chrome on Android?


#2

I haven’t tried notifications before, but when building an app that used the users location it prompted on first use. Perhaps these sites have a fake first notification or similar trick to ask for permission before actually needing to send a notification?

update: I would mention the Notification.requestPermission method from the notification API. However this is not supported in Chrome on Android. According to caniuse.com. They claim only the Push API is supported.