导轨推送通知APNS苹果iPad - 使用哪种宝石?
我期待从轨推送通知到苹果应用3.0.3
I'm looking to push notifications to apple from a rails 3.0.3 application.
我已经找到了各种各样的APN杂交的宝石,包括apns_on_rails。
I have found a variety of apns"ish" gems including apns_on_rails.
有些人似乎有点老了(1年或2年),它是非常不清楚什么是当前之一,在2012年使用。
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.
你能不能推荐使用哪一个给我的标准是什么?哪个是主流?这是保持?结果
我不喜欢定制github上的存储库,并正在寻找最佳的稳定的长期解决方案的宝石
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.
https://github.com/PRX/apn_on_rails
我们维护它,我的只是更新它现在是轨道3兼容。
We maintain it, and I just updated it to now be rails 3 compatible.
您需要将它添加到您的Gemfile,然后运行
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.