【问题标题】:how to send firebase push notification with big image using firebase console如何使用firebase控制台发送带有大图像的firebase推送通知
【发布时间】:2018-11-03 17:14:05
【问题描述】:

在基于统一的应用程序推送通知中,带有应用程序的标题、消息、大图像和图标。 如何使用 Firebase 控制台发送带有大图像的 Firebase 推送通知。

我正在尝试使用自定义数据键 -> 值对 图片-> 图片网址

但我的设备不显示图像。它只显示标题和消息。

【问题讨论】:

    标签: push-notification firebase-cloud-messaging firebase-console


    【解决方案1】:

    我通过 firebase 的文档以及 firebase 和 big picture 的示例查看了很多内容。看起来让firebase显示大图推送通知的正常方法是通过java代码。您还可以通过自定义数据键 -> imageurl 发送自定义数据。但是加载 imageurl 将通过您的代码来处理。

    Firebase 的 unity 插件无法在 unity 内显示大图推送通知。您必须调用从 Firebase.Messaging.FirebaseMessaging.MessageReceived 事件触发的 java 代码。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-11-23
      • 2017-08-24
      • 1970-01-01
      • 2020-12-09
      • 2021-07-15
      • 2019-01-26
      • 1970-01-01
      • 2023-02-01
      相关资源
      最近更新 更多