Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get list of Firebase notifications?

Is there a way to see all the notifications sent via Firebase?

I can't find anything in the docs or anywhere else.

It'd be cool if it is possible over the console, but HTTP would do as well! Any ideas?

like image 217
Maverick283 Avatar asked Nov 10 '16 10:11

Maverick283


People also ask

How do I check my messages on Firebase?

Open the Notifications composer, then click Access BigQuery at the bottom of the page. From the Integrations page in the Firebase console, click Link in the BigQuery card. This page displays FCM export options for all FCM-enabled apps in the project.

How do I get data notifications on Android?

In this scenario we have the option to get the info (for example the “data” entry) after the user taps on the notification icon in the status bar. Then the notification automatically will call the app's launcher Activity and through getIntent(). getExtras() method obtain the “data”.

What is Firebasemessagingservice?

Firebase Cloud Messaging Platform (formerly named as GCM) is a free mobile notification service by Google that enables (third-party) app developers to send notifications from GCM (Google Cloud Messaging) servers to their users.


1 Answers

Unfortunately, there is no available API as of the moment to retrieve your GCM/FCM logs. However, there's been a recent improvement in the Firebase Notifications console where stats (sent count only for now) for messages sent using the FCM API is included in the Firebase Notification console stats. From my answer in the similar post:

As of August 2018, stats for messages sent using the FCM API are now visible from the console. From the Cloud Messaging section, click on the Reports tab. From there, you will be able to filter by message type (notification, data, and all)

enter image description here

It would seem that the Impressions and Opens are still only available for messages sent using the console. But Sends for sure now counts the messages sent using the FCM API.

Reference: https://firebase.googleblog.com/2018/08/in-app-messaging-crashlytics.html

As you might already know, only notifications sent via the console are visible in the Firebase Console itself. In the left-side panel, just select on the Notifications and you will see the list of Notifications sent using the console.

One approach is also to make use of the Google Play Developer Console, but the app should at least be in Alpha Testing.

Kinda similar posts:

  • Firebase Cloud Messaging Statistics API
  • Firebase notification records/log API
like image 137
AL. Avatar answered Oct 18 '22 06:10

AL.