Hi.
I tested with android when app totally closed. I got this function triggered when received notification:
messaging().onNotificationOpenedApp(remoteMessage => {
console.log('Notification caused app to open from background state:', remoteMessage)
})
messaging()
.getInitialNotification()
.then(remoteMessage => {
console.log('Notification caused app to open from quit state:', remoteMessage)
})
But when user click into notification, app opened without any callback, then i can not get message data. Can someone help?
Hi. I tested with android when app totally closed. I got this function triggered when received notification:
But when user click into notification, app opened without any callback, then i can not get message data. Can someone help?