2 ms·
Or, if you use Urban Airship; it's literally like five lines of code with HTTParty to send a push notification. Of course, your needs may vary, but UA scales w
by aaronbrethorst 14y ago
Or, if you use Urban Airship; it's literally like five lines of code with HTTParty to send a push notification.
Of course, your needs may vary, but UA scales well and is essentially free to start with.
- vanstee 14y agoOh yeah I've heard great things about Urban Airship. Also I noticed a new heroku add-on that looks pretty nifty as well. https://addons.heroku.com/boxcar https://addons.heroku.com/boxcar
- tstyle 14y agoI was just looking at options for push notifications in ruby. I found a gem called apn_on_rails (https://github.com/PRX/apn_on_rails https://github.com/PRX/apn_on_rails) which sort of worked. But I didn't know how to keep persistent connections and was afraid of accidentally spamming Apple's servers. I thought about outsource the problem to Urban Airship, but unfortunately their free service only works for 45 days then costs hundreds of dollars a month. Grocer looks really interesting and I'd definitely want to try it out.
- aaronbrethorst 14y agoYou scared me there for a minute. I thought they'd dropped their free plan. Turns out it still exists: https://go.urbanairship.com/accounts/register/ https://go.urbanairship.com/accounts/register/
- kingnothing 14y agoThere's another gem you should take a look at, too, called 'rapns'. The maintainer is pretty active with fixes and it maintains persistent connections with a daemon.