That would be cool if you find a solution. When I wrote the tutorial I was able to log the notifications when the app was in foreground as I displayed above but yes maybe that isn't valid anymore.
// Listen to messages when your app is in the foregroundmessaging.onMessage((payload)=>{console.log(payload);});
Looking forward to hear about it!
Best
David
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Ognjen,
Thank you for the feedback!
That would be cool if you find a solution. When I wrote the tutorial I was able to log the notifications when the app was in foreground as I displayed above but yes maybe that isn't valid anymore.
Looking forward to hear about it!
Best
David