【问题标题】:How can send and receive message between gcm with openfire?如何在 gcm 与 openfire 之间发送和接收消息?
【发布时间】:2016-08-01 14:43:40
【问题描述】:

我使用 ionic 和 openfire 创建了混合信使应用程序。

我需要推送服务,所以使用了phonegap-plugin-push。

并成功使用 gcm 从测试推送服务器接收推送通知。

我有问题。

  1. 如何在 gcm 与 openfire 之间发送和接收消息?因为我想做 app gcm openfire。

  2. 我应该创建插件吗?还是服务器?

  3. 有人知道 openfire gcm 插件吗?以及如何使用?

【问题讨论】:

    标签: android cordova ionic-framework google-cloud-messaging


    【解决方案1】:

    看看这个插件可能对你有帮助

    https://github.com/meisterfuu/Openfire-GCM.git

    【讨论】:

    • 怎么添加?无法使用cordova插件添加github.com/meisterfuu/Openfire-GCM.git。如果你知道任何关于 Openfire-GCM 的示例代码?
    • 我确实使用上传插件将 Openfire-GCM gcmh.jar 上传到了 openfire 管理控制台。但是什么也没发生。如何使用 ionic 的插件?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-08-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-03-05
    相关资源
    最近更新 更多