我应该使用哪个Apple推送通知服务Java库? [英] Which Apple Push Notification Service Java library should I use?

查看:158
本文介绍了我应该使用哪个Apple推送通知服务Java库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要推送通知给iOS设备,从我的Java服务器,使用 Apple推送通知服务(APNS)

I need to send push notifications to iOS devices, from my Java server, using Apple Push Notification Service (APNS)

我发现两个库用Java发送APNS推送通知:

I found two libraries to send APNS push notifications in Java:


  1. java-apns

  2. javapns

  1. java-apns
  2. javapns

但两者似乎都被放弃了(或者至少他们有错误,最后一个版本是一年前)。

But both seem to be abandoned (or at least they have bugs and the last release is a year ago).

java-apns有很多 forks 。在积极开发中是否有这个库的更新分支?还有其他更好的选择吗?

java-apns has lots of forks. Is there any updated fork of this library in active development? Are there any other better choices?

推荐答案

如果其他人正在寻找Java中的APNs库,我们在RelayRides刚刚发布了Pushy ( http://relayrides.github.io/pushy/ )。它做的一些事情与其他两个竞争者(如异步网络IO)不同,因此它可以非常快速地发送大量消息。我们实际上也在生产中使用它,因此它由我们的工程师积极维护。享受!

If anybody else is looking for an APNs library in Java, we at RelayRides just released Pushy (http://relayrides.github.io/pushy/). It does some things differently than the other two contenders (like async network IO), so it can send large numbers of messages really quickly. We actually use it in production, too, so it's actively maintained by our engineers. Enjoy!

编辑:要明确,Pushy是免费的开源(麻省理工学院许可证)。

To be clear, Pushy is free and open-source (MIT license).

这篇关于我应该使用哪个Apple推送通知服务Java库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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