适用于 Android 和 iOS 的推送通知 Gem

发布于 2024-12-15 10:53:44 字数 822 浏览 4 评论 0 原文

我正在 Ruby 1.9.2 和 Rails 3 中开发一个项目,我正在寻找一个 gem 来向我的 iOS 应用程序和 Android 应用程序发送推送通知。

我找到了一个适用于 iOS 的 jtv-apns gem 但正如我在这个问题中所问的那样,我还没有无法让它发挥作用,我还没有收到任何答复。 我还找到了 apn_on_rails 但由于说明不适用于 Rails 3,我不知道是否可以是兼容的。

对于android,到目前为止我发现的是c2dm_on_rails,但仅适用于ruby 1.8和rails 2。

正如本问题,城市船舶目前对我来说不是一个选择。我想自己实现它或找到一个宝石来帮助我做到这一点。

你知道我可以用于 ruby​​ 1.9 和 Rails 3 的任何 gem 或者我可以遵循的好教程吗?

I am working on a project in Ruby 1.9.2 and Rails 3 and I am looking for a gem to send push notifications to my iOS app and to my Android app.

I have found one for iOS jtv-apns gem but as I have asked in this question, I haven't been able to make it work and I haven't received any answers yet.
I have also found apn_on_rails but as the instructions are not for rails 3, I don't know if it is compatible.

For android, all I have found is c2dm_on_rails so far, but only works with ruby 1.8 and rails 2.

As suggested in this question, Urban ship is not an option for me right now. I would like to implement it myself or find a gem to help me do that.

Do you know any gem I can use for ruby 1.9 and rails 3 or a good tutorial I can follow?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

旧故 2024-12-22 10:53:44

我最终使用了rails 3分支的apn_on_rails。你可以在这里找到一个非常好的教程

,对于android我使用< a href="https://github.com/sghael/speedy_c2dm">speed_c2dm

I ended up using apn_on_rails the rails 3 branch. You can find a really good tutorial here

And for android I used speed_c2dm

走走停停 2024-12-22 10:53:44

使用 Prowl iOS 客户端并
prowler gem

http://www.prowlapp.com

如果有人知道更新的更好解决方案,请发表评论!

Use Prowl iOS client and
prowler gem

http://www.prowlapp.com

If someone knows a better solution that is up2date please post as comment!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文