webuildsg / iOS

iOS client for https://webuild.sg/
https://itunes.apple.com/us/app/we-build-sg/id1089421487
11 stars 4 forks source link

implement notification #4

Open sayanee opened 8 years ago

sayanee commented 8 years ago
  1. if the event is within the next hour (as queried by this api endpoint), create a notification
  2. if the repository was updated within the last hour hour (as queried by this api endpoint), create a notification
miccheng commented 8 years ago

Apple push notification is handled by Apple’s backend… but you have to implement your own server to trigger push messages. You also have to maintain the list of phones for notifications.

If you don’t need customised push messages… then can just use Urban Airship. They can watch an RSS feed and just push new data as and when it gets updated.

sayanee commented 8 years ago

:clap: :+1: thanks for the tip @miccheng #noob #learning

miccheng commented 8 years ago

https://github.com/rpush/rpush <-- this looks promising if you just want to host it yourself.

sayanee commented 8 years ago

:+1:

cheeaun commented 8 years ago

This one also https://github.com/argon/node-apn

sayanee commented 8 years ago

thank you so much everyone :heart_eyes: @cheeaun Will take a look at all of them when I code this feature.

subhransu commented 8 years ago

Just build a Node or Ruby backend server. Host on Heroku. Client side code is really less. Most of the logic needs to be handled by backend.

And I suggest rolling out your own ... will give you more control. You can for example trigger custom notification for some major events in future.

sayanee commented 8 years ago

:+1: :100: noted @subhransu :smile:

cheeaun commented 8 years ago

Another one https://github.com/sideshow/apns2

sayanee commented 8 years ago

:clap: @cheeaun