Is it possible to send push notifications to Android without building any application?
Asked Answered
I

5

9

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?

Islington answered 26/6, 2013 at 12:53 Comment(3)
How were you envisioning sending these messages? And how were you envisioning collecting and holding the GCM registration IDs of the devices?Febrifacient
@CommonsWare, I don't know. Can't I collect the IDs over web with the help of Google Chrome or build in application in Android? I can store the IDs in my web server.Islington
@CommonsWare, is it a must to have an application in order to send push notifications?Islington
I
0

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

Islington answered 28/7, 2022 at 11:30 Comment(0)
S
8

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.

Shattuck answered 26/6, 2013 at 13:27 Comment(2)
It depends on their requirements. They could use a workaround to receive a notification on the phone.Mediation
Not true. You can services like www.spontit.com to send push notifications.Kaycekaycee
M
5

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.

Mediation answered 17/8, 2016 at 5:0 Comment(0)
W
2

you need REGISTRATION_KEY of particular android device for send push notification to android phone.

Wolcott answered 26/6, 2013 at 13:1 Comment(2)
How do I get the REGISTRATION_KEY without building an app?Islington
without building an app. you get API key not RegistrationKey/DeviceToken so for get RegistrationKey you need to follow steps which is below url. blog.mediarain.com/2011/03/…Wolcott
H
1

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/

Horlacher answered 25/1, 2016 at 7:27 Comment(0)
I
0

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

Islington answered 28/7, 2022 at 11:30 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.