4 ms·
Is there a standard understanding of what are push notifications? Are they the same for android and iOS? I’m not sure what this project is about!
by linkmotif 8y ago
Is there a standard understanding of what are push notifications? Are they the same for android and iOS? I’m not sure what this project is about!
- entropie 8y agohttps://en.wikipedia.org/wiki/Push_technology https://en.wikipedia.org/wiki/Push_technology
- linkmotif 8y agoRight but as the article shows, there are many "push technologies"... what is this project about? Someone subscribed for notifications and then this server sends them?
- saagarjha 8y agoiOS does its own thing, FWIW: APNS (https://en.wikipedia.org/wiki/Apple_Push_Notification_Service https://en.wikipedia.org/wiki/Apple_Push_Notification_Servic...)
- linkmotif 8y agoThank you!
- dgivney 8y ago> what is this project about? Someone subscribed for notifications and then this server sends them? Exactly that. A device registers with the server and then there's a REST API or CLI binary that you can use to send it push notification messages.
- dgivney 8y agoI think Push API is an industry standard but there is this W3 draft https://www.w3.org/TR/push-api/ https://www.w3.org/TR/push-api/ But yes, it's essentially implemented the same across iOS/Android and browsers like Chrome, FF, Edge etc. There are services such as Amazon SNS or Google Firebase that provide a single interface which can talk to all the slightly different implementations. In a nutshell the device registers to the server and receives an identifier token. Then a server can send messages to that identifier and the message will be displayed on the screen. Some providers allow for Icon, Audio and some Actions to also be sent as part of the message payload.
- linkmotif 8y agoThank you! I’ve never actually implemented push notifications. Will soon so I was wondering...