Reputation: 8963
I don't want to build an application for my web site. However, I want to send push notifications to Android devices. Is this possible?
Upvotes: 9
Views: 13131
Reputation: 8963
When I have asked this question it wasn't possible. But later Web Notifications have appeared. You can receive a web notification from a web browser. https://developer.mozilla.org/en-US/docs/Web/API/notification
Upvotes: 0
Reputation: 1117
It depends on your requirements. You can use third-party service like Pushed (https://pushed.co/) or Spontit (https://spontit.com, https://api.spontit.com).
Or you can setup the website as a Chrome-app on the phone and then you'll be able to send notifications through Chrome.
https://developers.google.com/cloud-messaging/chrome/client https://developers.google.com/web/updates/2015/03/push-notifications-on-the-open-web?hl=en
In both scenarious you'll need to advise your users to install the app on the phone which will subscribe to notifications.
Upvotes: 5
Reputation: 181
Physical web is the answer to that. With Eddystone-URL, it is possible to send notifications to phone without app.
Check this, https://google.github.io/physical-web/
Upvotes: 1
Reputation: 81
The answer to the question is simply NO, you need to register an app to google C2DM server, to be able to send push notification to this device.
Upvotes: 8
Reputation: 397
you need REGISTRATION_KEY of particular android device for send push notification to android phone.
Upvotes: 2