【问题标题】:Appcelerator Android GCM without Appcelerator Cloud Service没有 Appcelerator 云服务的 Appcelerator Android GCM
【发布时间】:2015-06-15 21:54:59
【问题描述】:

我正在 Appcelerator 平台上开发一个应用程序。在我的 android 版本中,我想启用推送通知,但我不想使用 Appcelerator 云服务。这可以仅使用 Google Cloud Messaging 完成吗?

谢谢,

【问题讨论】:

    标签: android notifications appcelerator


    【解决方案1】:

    是的,您可以很好地使用 GCM 而无需使用 ACS。 ACS 是 Appcelerator 提供的一项服务,您可以/可以不选择接受它。如果使用 GCM,那么您需要使用模块来使用它。

    【讨论】:

    • 我应该创建 Android 模块并在那里实现 GCM 吗?
    • 是的。您需要创建一个 Android 模块并实现 GCM,但是已经存在许多这样的模块。您可以在 GitHub 或 Appcelerator Marketplace 中搜索。也可以尝试使用 gcm.js
    【解决方案2】:

    当然可以,下面的模块可以正常工作

    https://github.com/hansemannn/titanium-firebase-cloud-messaging

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多