hyperRail icon indicating copy to clipboard operation
hyperRail copied to clipboard

Feature: Push notifications for platform change & delays #180

Open SerkanYildiz opened this issue 9 years ago • 5 comments

Wouldn't a awesome idea to send push notifications to users on their phone, when there is a platform change or delay. It will be useful when you couldn't hear the announcement on the station.

https://developers.google.com/web/fundamentals/getting-started/push-notifications/?hl=en

SerkanYildiz avatar Jul 11 '16 09:07 SerkanYildiz

Cool indeed! Didn't know this was possible!

pietercolpaert avatar Jul 11 '16 18:07 pietercolpaert

Will work on this ;-) I'll do a pull request when it's ready

SerkanYildiz avatar Jul 12 '16 09:07 SerkanYildiz

Focus on your oSoc16 work right now ;-) I also have doubts about how expensive this would be to keep online: we want to keep this cheap to host. So let's not do this too quickly

pietercolpaert avatar Jul 12 '16 09:07 pietercolpaert

Also interested by a delay notification. To keep it lightweight, the API could invoke one decentralized webhook (Webhooks are "user-defined HTTP callbacks"). Then the remote server could push notifications by anyway he likes (push notification, mail, SMS, Pushbullet, Slack, ...). This way, the load would charge only this server.

If that is up, I could spend time to code an app that would fill automatically my "compensation for delays" sheets. I am tired to fill it by hand!

JeromeGillard avatar Dec 01 '16 13:12 JeromeGillard

@JeromeGillard You could as well just do that with the data that is exposed by the API right? Also, there are quite some apps that provide this functionality already, such as BeTrains and BeLate

pietercolpaert avatar Dec 02 '16 09:12 pietercolpaert