简体   繁体   English

FCM BigQuery - 未返回 MESSAGE_DELIVERED 记录

[英]FCM BigQuery - No MESSAGE_DELIVERED records returned

I have called FirebaseMessaging.getInstance().setDeliveryMetricsExportToBigQuery(true) in my Android project, but I cannot see MESSAGE_DELIVERED in the BigQuery result.我在我的 Android 项目中调用了FirebaseMessaging.getInstance().setDeliveryMetricsExportToBigQuery(true) ,但我在 BigQuery 结果中看不到MESSAGE_DELIVERED Details as below.详情如下。

I had built up my Android project with FCM integrated for several months.我用 FCM 集成了几个月来构建了我的 Android 项目。 And also enabled export FCM data to BigQuery.并且还启用了将 FCM 数据导出到 BigQuery。

In BigQuery editor, I have SELECT event_timestamp, event FROM android_0901xxx.firebase_messaging.data WHERE app_name = 'com.company.mydemo' and sdk_platform = 'ANDROID' ORDER BY event_timestamp DESC , the query result is as below:在 BigQuery 编辑器中,我有SELECT event_timestamp, event FROM android_0901xxx.firebase_messaging.data WHERE app_name = 'com.company.mydemo' and sdk_platform = 'ANDROID' ORDER BY event_timestamp DESC ,查询结果如下:

在此处输入图像描述

As you see, all of the events are MESSAGE_ACCEPTED , but I have confirmed tons times, I can receive the notification on my Android devices.如您所见,所有事件都是MESSAGE_ACCEPTED ,但我已经确认了很多次,我可以在我的 Android 设备上收到通知。 And I also tapped the notifications.我还点击了通知。

So my question is how come I cannot get other events like MESSAGE_DELIVERED in my BigQuery?所以我的问题是为什么我无法在我的 BigQuery 中获取其他事件,例如MESSAGE_DELIVERED

According to the documentation the message has been delivered to the app's FCM SDK on the device.根据文档,消息已发送到设备上应用程序的 FCM SDK。 By default, MESSAGE_DELIVERED is not propagrated.默认情况下,不传播 MESSAGE_DELIVERED。 To enable, follow the instructions provided in setDeliveryMetricsExportToBigQuery(boolean) .要启用,请按照setDeliveryMetricsExportToBigQuery(boolean)中提供的说明进行操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当应用程序处于后台时,FCM Intent 与数据交付在哪里? - Where is FCM Intent with data delivered, when app is in background? FCM 通知标题仍为“FCM 消息” - FCM notification title remains "FCM Message" BigQuery INSERT SELECT 导致记录的随机顺序? - BigQuery INSERT SELECT results in random order of records? 当值为空时,Bigquery 清除记录 - Bigquery Clean records when value is empty Firebase 在没有云功能的情况下发送新消息时向聊天成员推送通知 - Firebase pushing notification to chat members when a new message gets delivered without cloud functions DataFusion 如何在加载前使用 BigQuery Execute object 删除记录? - DataFusion How to use BigQuery Execute object for deleting records prior loading? 如何在 BigQuery SQL 中选择记录子集? - How do I select a subset of records in BigQuery SQL? 是否可以在带有可扩展选项的推送通知中发送 Firebase(FCM) 通知消息(多行消息); 使用 Python? - Is it possible to send Firebase(FCM) notification message(multiple lined message) in the push notification with expandable option on it; using Python? BigQuery 可以发送发布/订阅消息吗? - Can BigQuery send a pub/sub message? 使用数据融合将 pubsub 消息摄取到 Bigquery - pubsub message ingestion into Bigquery using data fusion
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM