Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Cloud Messaging Notifications for iOS not showing opened and analytics

I'am using FCM to send notifications to iOS apps. The notifications are received on the device well, but I can not get the "Opened" or "Conversion " rate in the Notification console GUI. It always shows "0 opened" and "0 Conversion" for almost 200 0000 notifications sent.

I double checked all the implementation but I can't get it working.

I have FirebaseAppDelegateProxyEnabled set to YES in plist. I implemented all the methods listed on Firebase guides and docs.

I don't have any notification related events showing in the Firebase analytics pane either.

like image 472
Ericbcn Avatar asked Jul 31 '17 13:07

Ericbcn


People also ask

Does Firebase notification work on iOS?

For Apple client apps, you can receive notification and data payloads up to 4000 bytes over the Firebase Cloud Messaging APNs interface. To write your client code in Objective-C or Swift, we recommend that you use the FIRMessaging API.

Does Firebase messaging work on iOS simulator?

FCM via APNs does not work on iOS Simulators. To receive messages & notifications a real device is required. The Cloud Messaging package connects applications to the Firebase Cloud Messaging (FCM) service. You can send message payloads directly to devices at no cost.

How do I check my Firebase notification history?

You can log into your firebase console and check the Cloud Messaging section for the detailed overview of the notifications sent.


1 Answers

To enable Open count metric in Cloud Messaging > Reports, you need to mark notification_open event as conversion in Analytics > Events:

Firebase Event as Conversion

That's the event automatically generated by Firebase but not enabled by default.

like image 92
Dominique Stranz Avatar answered Oct 13 '22 01:10

Dominique Stranz