导轨推送通知APNS苹果iPad - 使用哪种宝石? [英] rails apns for push notifications to apple ipad - which gem to use?

查看:112
本文介绍了导轨推送通知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.

这篇关于导轨推送通知APNS苹果iPad - 使用哪种宝石?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆