Open kota opened 3 years ago
Hi @kota,
The behavior you're experiencing is intended.
When your app is running in the foreground, your app receives a message object with both payloads available, but there's no notification as this only happens when your app is running in the background.
However, it is possible for you to make notifications appear using the Notifications Service Extension in your Xcode project, but we don't have an entirely straightforward process for this yet.
I've filed an internal feature request for a more straightforward process of adding notifications while the app is in the foreground. I can't give you any timelines for updates regarding this, so I'll leave this open.
Thanks!
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the question here:
When I build quickstart-unity/messaging/testapp on iOS and send a message while the app is in foreground, I expected to see a notification banner to show up, but actually it didn't. Only MessageReceived event was fired.
Is this an intended behavior? If so, is there any way to show the banner on an app in foreground?