I’ve recently linked my Firebase project to a BigQuery as indicated in the documentation, and also installed the FCM SDK version 20.1.0 as indicated here, but even after enabling the data export by calling
setDeliveryMetricsExportToBigQuery(true) in a local app build, and sending some push notifications via production to capture some push metrics, nothing was exported to the
firebase_messaging dataset, nor a single table was created by the integration. I’ve activated only the Cloud Messaging data export for this project on all app variants (debug, test, beta, production).
I’ve tried receiving and interacting with push notification on both emulated and physical devices, and even after waiting more than 24h I was unable to find the push notification delivery metrics in the database.
Running the following query against the created dataset after the integration link, I get no results back:
select * from firebase_messaging.data limit 100
Not found: Table *****:firebase_messaging.data was not found in location US (I’ve hidden the project id).
When looking at the
Firebase Messaging Export job history of this same BigQuery, I find the following line within every daily run:
Source data not found for 'data$20200215'.
With that said, I have a few questions around what could be causing this:
- Is there anything else that needs to be done that may not be present in these documentation links I’ve shared?
- Is a local build a possible cause for this unexpected behavior, even by setting the production variant for it?
- Can the data export feature be affected by using the sandbox version of the BigQuery?
- I noticed is that the BigQuery uses US region and my app is distributed to the Brazil market, could this influence the push metrification?