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

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

问题描述

我需要使用 Apple 推送通知服务 (APNS)

我找到了两个用 Java 发送 APNS 推送通知的库:

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

  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 有很多分叉.这个库是否有任何更新的分支正在积极开发中?还有其他更好的选择吗?

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 是免费和开源的(MIT 许可).

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

项目已移至 https://github.com/jchambers/pushy

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

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