capacitor-community / fcm

Enable Firebase Cloud Messaging for Capacitor apps
https://capacitor.ionicframework.com/docs/
MIT License
238 stars 83 forks source link

Firebase Messaging statistics always shows "0" #154

Open iamkinetic opened 8 months ago

iamkinetic commented 8 months ago

Describe the bug I'm using this plugin to receive push notification inside a iOS and Android mobile app. It's working ok except for one thing: when I look a the firebase messaging stats, "received", "impressions" and "open count" are always at 0 even if the notifications are received and viewed on devices. Only the "sends" stats in updated.

Should this be working? Am I missing something to make this work? I can't find anything in the doc.

To Reproduce Steps to reproduce the behavior:

  1. Send notification to device through FCM.
  2. Receive and click on notification on device.

Expected behavior "Received", "Impressions" and "Open count" should be updated.

Smartphone (please complete the following information):