Unity Cloud Messaging "notification_open" not being triggered

535 views
Skip to first unread message

Paul Gregory

unread,
Jan 30, 2020, 10:04:38 AM1/30/20
to Firebase Google Group
Hi,

I've looked around and can't find any information about this issue, hopefully it's something simple that I'm missing. I've integrated push notifications via Cloud Messaging in our game, iOS and Android. I can send a notification from the Firebase console, and see it on my iOS test device. If I click the notification, the game opens as expected, all good. But the Cloud Messaging reports still show 0% opens. Moreover, if I go to the Events tab, there is nothing in there about messaging, no, "recommended" or otherwise, visibility of the "notification_open" event. The only place I have even been able to see this event mentioned is in the funnels. It is my understanding from the documentation, that I don't need to do anything to get this particular event, along with a bunch of others, as they are automatically collected, https://support.google.com/firebase/answer/6317485?hl=en.

Any advice on why this might not be working welcome.


Paul

Kato Richardson

unread,
Jan 30, 2020, 4:01:06 PM1/30/20
to Firebase Google Group
Hi Paul,

Events can take some time to upload and get aggregated. Can you see the event in DebugView? Is it in your device logs after the send? More on debugging here.

☼, Kato

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/d66b9fd9-d741-48d0-9ad9-4961f2142ae1%40googlegroups.com.


--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Paul Gregory

unread,
Jan 31, 2020, 10:30:23 AM1/31/20
to Firebase Google Group
Yes, they do seem to trickle through in the end, about 24-36 hours later, my bad. I was expecting them to be quicker than that, given that the push notification itself is instantaneous.


Paul


On Thursday, 30 January 2020 21:01:06 UTC, Kato Richardson wrote:
Hi Paul,

Events can take some time to upload and get aggregated. Can you see the event in DebugView? Is it in your device logs after the send? More on debugging here.

☼, Kato

On Thu, Jan 30, 2020 at 8:04 AM Paul Gregory <pa...@h23.com> wrote:
Hi,

I've looked around and can't find any information about this issue, hopefully it's something simple that I'm missing. I've integrated push notifications via Cloud Messaging in our game, iOS and Android. I can send a notification from the Firebase console, and see it on my iOS test device. If I click the notification, the game opens as expected, all good. But the Cloud Messaging reports still show 0% opens. Moreover, if I go to the Events tab, there is nothing in there about messaging, no, "recommended" or otherwise, visibility of the "notification_open" event. The only place I have even been able to see this event mentioned is in the funnels. It is my understanding from the documentation, that I don't need to do anything to get this particular event, along with a bunch of others, as they are automatically collected, https://support.google.com/firebase/answer/6317485?hl=en.

Any advice on why this might not be working welcome.


Paul

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fireba...@googlegroups.com.

Kato Richardson

unread,
Jan 31, 2020, 10:49:01 AM1/31/20
to Firebase Google Group
Cool, glad it's at least working. Let me know if you need any help understanding the debug guide and tools.

☼, Kato

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/e926acf9-d785-474c-a863-aaaa49008824%40googlegroups.com.
Message has been deleted

xz Zhou

unread,
Mar 24, 2021, 6:20:11 AM3/24/21
to Firebase Google Group
Hi,

We are in a similar situation! After we released a new version(iOS), suddenly the Cloud Messaging reports continue to show 0% opens for recently pushed notifications. Also, we cannot see any ‘notification_open’ events related to recently sent ones. This happens even to notifications sent almost 10 days ago.

For more details:
1. We added NotificationServiceExtension to receive notifications with images in the new version, and we kept using the Notifications Composer to send them. We can send and receive as usual.
2. Instead of using the FIRMessaging extension helper API, we download and attach the image by ourselves(as the comments of FIRMessagingExtensionHelper declares 'Images and other rich content can be populated manually without the use of this class', do we have any misunderstanding here?)
Screen Shot 2021-03-23 at 9.41.16 PM.png
3. We can see the notification_open events in both the DebugView and the Xcode console
Screen Shot 2021-03-23 at 10.57.06 AM.pngScreen Shot 2021-03-23 at 10.54.12 AM.png

Do we have any misunderstandings about how the service extension works with firebase and do we need to take other actions to get the data back? Any advice will be helpful.

Best wishes,
Xiaochen Zhou
Reply all
Reply to author
Forward
0 new messages