You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: