[英]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.