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
When I received Remote Notification and my app is in background, the notification is displaied in the notification tray (normal behavior).
If I click on the notification, it opens the application and onMessage() is called and the notification object has all the data properties I sent.
But if i open the application not by clicking on the notification but by clicking in the application's icon. onMessage() is called but the notification object has nothing except:
{"opened_from_tray" : true// Which is false"fcm": {"action": "foobar"}}
EDIT: This happened each time my application changes from background state to foreground state, so OnMessage() is called each time I open the application.
My data are not there and so it is difficult to know what need to be done.
Environment
Tested on Android but not on iOS
Development Operating System:
macOS Sierra
React Native version:
0.48.4
RNFirebase Version:
3.0.3
Firebase Module:
messaging
The text was updated successfully, but these errors were encountered:
Thanks for reporting. We're aware of lots of issues with notifications and will be addressing them all as part of the v3.2.0 release stream. Please see #595 for updates.
Uh oh!
There was an error while loading. Please reload this page.
Issue
When I received Remote Notification and my app is in background, the notification is displaied in the notification tray (normal behavior).
If I click on the notification, it opens the application and
onMessage()
is called and the notification object has all the data properties I sent.But if i open the application not by clicking on the notification but by clicking in the application's icon.
onMessage()
is called but the notification object has nothing except:EDIT: This happened each time my application changes from background state to foreground state, so OnMessage() is called each time I open the application.
My data are not there and so it is difficult to know what need to be done.
Environment
Tested on Android but not on iOS
Development Operating System:
macOS Sierra
React Native version:
0.48.4
RNFirebase Version:
3.0.3
Firebase Module:
messaging
The text was updated successfully, but these errors were encountered: