[Firebase Mobile] Test push notification and reports on Firebase Console not working

Hi,

I have installed the Firebase Mobile and It works with my mobile app to push notifications to users. However when I go to the Firebase Console to make a test notification and see the reporting It does not work.

The registry token I use is the server key token, is this correct?

Can you help me.

Thanks,

Luis 

Hi ,

you need to use this as server key

Also Here is the link for configuration

https://www.outsystems.com/forums/discussion/43685/configuration-guide/


Regards

Rahul Sahu

LHHB wrote:

Hi,

I have installed the Firebase Mobile and It works with my mobile app to push notifications to users. However when I go to the Firebase Console to make a test notification and see the reporting It does not work.

The registry token I use is the server key token, is this correct?

Can you help me.

Thanks,

Luis 

Hi,

- Are you choosing the correct application & both/respective platform while broadcast the cloudMessage from firebase?

- Make sure the configurations are correct.

- Also if you're testing with android, just for sake of test ..make sure to not keep app open &  then push notification from fb. Because on Android when the app is open the fb plugin listen the event & hence it is not shown on system tray.

- Most imp : Test with a new fresh build installed



Hi Assif,

regarding configuration the only environment is DEV. I can push notifications between devices, the problem is with Firebase console that don`t show reporting on the messages sent and I can not test the push of a notification.

Regarding platform:

Shall I have to inform the destination for this test message? Where?

I never use Sender ID?

Thank you,

Luis 

assif_tiger wrote:

LHHB wrote:

Hi,

I have installed the Firebase Mobile and It works with my mobile app to push notifications to users. However when I go to the Firebase Console to make a test notification and see the reporting It does not work.

The registry token I use is the server key token, is this correct?

Can you help me.

Thanks,

Luis 

Hi,

- Are you choosing the correct application & both/respective platform while broadcast the cloudMessage from firebase?

- Make sure the configurations are correct.

- Also if you're testing with android, just for sake of test ..make sure to not keep app open &  then push notification from fb. Because on Android when the app is open the fb plugin listen the event & hence it is not shown on system tray.

- Most imp : Test with a new fresh build installed



Hi,

what do you mean by “ Are you choosing the correct application & both/respective platform while broadcast the cloudMessage from firebase?”. Can you help me?

Thank you,

Luis


Hi Luis,

Pardon, I readthe question wrongly.

- Btw there's no issue of sha keys that u posted above with the stat's.

Let me know what you see on notifications when you send it on a test device:

- Send a push notification from a Clous Messaging in Firebase 

- Open the Notification on device from System Tray.

-  Goto CloudMessaging Reports 

https://console.firebase.google.com/project/_/notification/reporting

- You can refer the guide for same:

https://firebase.google.com/docs/cloud-messaging/understand-delivery


Thanks,

assif_tiger 

assif_tiger wrote:

Hi Luis,

Pardon, I readthe question wrongly.

- Btw there's no issue of sha keys that u posted above with the stat's.

Let me know what you see on notifications when you send it on a test device:

- Send a push notification from a Clous Messaging in Firebase 

- Open the Notification on device from System Tray.

-  Goto CloudMessaging Reports 

https://console.firebase.google.com/project/_/notification/reporting

- You can refer the guide for same:

https://firebase.google.com/docs/cloud-messaging/understand-delivery


Thanks,

assif_tiger 

Hi Assif,

I achieved to send push notifications from Firebase console through Topic for all users subscribed in that Topic. To send a notification to a particular user by using Firebase console I need to provide the device token which is not at our disposal at the console. I even can not see in the Firebase console which are the users that subscribed the topic !!! I may say that the Onesignal console is user friendlier than Firebase.

Another problem I have is that when I am trying to send a notification to a specific user using its UserId, I can achieve that when user is logged in. When the user is logged out the app I can not deliver the notification to that specific user based on its UserId. I simple choose from the User system entity a specific user and in the sendnotification to user I select its UserId. What am I doing wrong?

Thank you,

Luis