I am using OneSignal push notifications in my Ionic 2 app. It works fine except for the following case:
- Kill the app to make sure it is not running in the background.
- Send a notification to the app.
- Dismiss the notification.
- Open the app.
- I don't receive any indication that the notification was received.
I have called OneSignal.handleNotificationReceived().subscribe(), during initialisation, but this is not triggered unless the app is running in the foreground/background.
Is there any way to get the notification when the app is started, even if the user dismissed the notification.
Thanks.