Foreground push notification arrives and then disappears from the status bar
dipanshukapoor-sirion opened this issue · comments
In our application whenever the foreground notification arrives, it is displayed as a push notification on top but disappears after that.
We have added forceShow as true
@dipanshukapoor-sirion this is expected behaviour. iOS autohides foreground notifications by default, for Android logic emulates it.
Do we have some way to show local notification in such case? As user doesn't get enough time to click on the notification and it disappears
It's not a part of this plugin. I suggest to use forceShow:false
and trigger rich notification in onMessage
callback using plugin for local notifications.
Can you provide a small snippet on how to trigger rich notification?