我需要推送通知给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:
但两者似乎都被放弃了(或者至少他们有错误,最后一个版本是一年前)。
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 ( relayrides.github.io/pushy/ )。它做的一些事情与其他两个竞争者(如异步网络IO)不同,因此它可以非常快速地发送大量消息。我们实际上也在生产中使用它,因此它由我们的工程师积极维护。享受!
If anybody else is looking for an APNs library in Java, we at RelayRides just released Pushy (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库?
发布评论