Firebase Cloud Messaging

187 views
Skip to first unread message

Bhautik Vekariya

unread,
Jun 19, 2024, 4:40:45 PM (10 days ago) Jun 19
to Firebase Google Group

I did implemented Firebase Cloud Messaging as per Official Firebase cloud doc.

When i send push notification to users through FCM then it is delivered to all users

But in FCM dashboard Open Count is not being logged , it shown 0 every-time

Notification sent count shown properly in FCM dashboard

Any assistance or guidance on resolving this issue would be greatly appreciated. Thank you in advance for your help.

FCM.png

Joe Spiro

unread,
Jun 20, 2024, 5:06:47 PM (9 days ago) Jun 20
to Firebase Google Group
Hello,


"it is delivered to all users"

To clarify, according to the graph it has not been delivered to anyone (who uses Android at least). "Received" indicates how many messages have been received by Android devices and is currently 0.

To debug where along this funnel this may be happening, please take a look at the Aggregated delivery data via the FCM Data API https://firebase.google.com/docs/cloud-messaging/understand-delivery?platform=android#aggregated_delivery_data_via_the_data_api

The Above API will still provide insights for iOS as well but some metrics are only avilable for Android.

Bhautik Vekariya

unread,
Jun 27, 2024, 3:57:15 PM (2 days ago) Jun 27
to Firebase Google Group

Hello Joe,

Thank you for your response.

I understand that the notification delivery to Android devices. However, my main concern is with the Open Count not being logged in the FCM Dashboard.

The notifications are being sent successfully, and the Notification Sent count is displayed correctly in the FCM Dashboard. But the Open Count remains at 0 every time, indicating that opens are not being tracked even though users are interacting with the notifications.

To clarify, my app is on iOS, not Android.

Could you please guide me on what else I should check in my SDK to resolve the Open Count issue ?

Thank you in advance for your assistance.

Best regards,
Bhautik Vekariya

Joe Spiro

unread,
Jun 27, 2024, 4:40:25 PM (2 days ago) Jun 27
to Firebase Google Group
Hello,

To clarify: Is this a recent change? Did you used to get successful deliveries?

Did you set up FCM for iOS in accordance with Set up a Firebase Cloud Messaging client app on Apple platforms? If not, go over those instructions and see where your implementation diverges.

Additionally you could try BigQuery data export to debug individual messages and determine where things might be running into issues.

Regards,
Joe

Bhautik Vekariya

unread,
Jun 28, 2024, 5:11:45 PM (17 hours ago) Jun 28
to Firebase Google Group
Thank you for your response.

1) I did implemented FCM code as per SS(AppConfiguration) 

UNUserNotificationCenter.current().requestAuthorization code is handle in another place as per my requirement 

Just set UNUserNotificationCenter.current().delegate = self and application.registerForRemoteNotifications() in AppDelegate file

2) I did not implemented fetching the current notification token anywhere in my app as per SS(Fetching Token)

3) All other implementation is same as per doc.

Could you please guide me further, Is there any issue for this set up related to I did not getting notification open count in FCM dashboard ?
AppConfiguration.png
FetchingToken.png

Joe Spiro

unread,
Jun 28, 2024, 5:25:09 PM (17 hours ago) Jun 28
to Firebase Google Group
Does this work when you test it on your own device(s)? Did it previous work?
Reply all
Reply to author
Forward
0 new messages