我应该使用哪个Apple推送通知服务Java库?

编程入门 行业动态 更新时间:2024-10-08 04:23:52
本文介绍了我应该使用哪个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:

  • java-apns
  • javapns
  • java-apns
  • 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 ( 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库?

    本文发布于:2023-11-28 21:47:36,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1644050.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:通知   Apple   Java

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!