Closed cpetrov closed 6 years ago
This may be helpful: https://firebase.google.com/docs/cloud-messaging/ios/receive
I have updated plugin. Hook is now fixed and launchData
is now properly propagated. All of the mixed scenarios work in the example app.
Do note that when app is in background or when doing cold start data from regular notification will always land in launchData
. message
event is fired when app is in foreground.
Problem description
Current state:
e.g.
When a data only message is received:
"message"
event firedWhen a notification/data mixed message is received:
"message"
event firedlaunchData
setExpected behavior
There should be a way to show a notification banner in the system UI when:
There should be a way to consume a notification in the app when:
... ideally only using the
"message"
event and thelaunchData
property if this is possible.