Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rails apns for push notifications to apple ipad - which gem to use?

I'm looking to push notifications to apple from a rails 3.0.3 application.

I have found a variety of apns"ish" gems including apns_on_rails.

Some of them seem a bit old (1 or 2 years) and it is very unclear what would be the 'current' one to use in 2012.

Can you recommend which one to use given my criteria? Which is mainstream? Which is maintained?
I dislike custom github repositories and am looking for the best stable longer-term gem solution.

like image 293
Michael Durrant Avatar asked Dec 10 '22 03:12

Michael Durrant


1 Answers

https://github.com/PRX/apn_on_rails

We maintain it, and I just updated it to now be rails 3 compatible.

You need to add it to your gemfile, and run

rails g apn_on_rails:install
rake db:migrate

you also need to provide all kinds of certs and credentials, as you would expect, but that is all in the readme.

like image 177
Andrew Kuklewicz Avatar answered Jan 14 '23 02:01

Andrew Kuklewicz