【问题标题】:FCM backend with Google Cloud App Engine使用 Google Cloud App Engine 的 FCM 后端
【发布时间】:2017-02-28 20:10:59
【问题描述】:

我想使用 FCM 和 Firebase 实时数据库来允许用户之间的消息传递。 Realtime DB 将用作聊天,FCM 消息将用于发送通知,以防其他用户应用程序未处于活动状态。

我需要一个后端模块,我想在 Android Studio 中使用 Google Platform App-Engine。是否可以使用 Standard App Engine 在 Realtime DB 中查找通知请求,然后通过 FCM API(HTTP Post)发送消息?还是我必须实施灵活的 App Engine?

感谢您的帮助,

【问题讨论】:

    标签: android google-app-engine firebase-realtime-database firebase-cloud-messaging app-engine-flexible


    【解决方案1】:

    您可以在 App 引擎中使用 Firebase Java API

    这个例子听起来很接近你想要做的事情

    https://cloud.google.com/solutions/mobile/firebase-app-engine-android-studio

    【讨论】:

    • 感谢您的回答。我知道标准 App Engine 可用于访问 Firebase 实时数据库,但我不确定是否发送 POST 请求。
    猜你喜欢
    • 1970-01-01
    • 2018-12-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-08-03
    • 1970-01-01
    • 1970-01-01
    • 2015-12-26
    相关资源
    最近更新 更多