So how to pass data from push notification for app when app is not in froreground?
On android I have tried to add data to Intent extras which works well when app is opened from push notification. If user happens to open app from app icon or app switcher intent extras are null. Clearly I need to figure out some other way to pass that data for app in a way it is accessable regardles how user decides to open app. How should I do this?
Delpin Susai RajPosted Dec 15, 2021, 4:39 AM
Jyri TurkiaPosted Dec 7, 2021, 9:17 AM
Yazhini MPPosted Dec 6, 2021, 5:10 AM
Go to Firebase console →Project Settings →Cloud Messaging. To send the message select Body →Raw →JSON(application/json). You can send Notification Payload , Data Payload and even both using POSTMAN service.