ionViewDidEnter not triggering from push notification


#1

So, here is the scenario. Phone is an Android 7 and I am using Push Plugin 1.9.0 in my app.

When I receive a notification when the app is in background, the push.on(‘notification’) event is triggered automatically, without tapping on the notification in status bar. On Android less than 7, the event is not triggered automatically but is triggered when I tap the notification in the status bar.

This loads the page and ionViewDidLoad function in the component but ionViewDidEnter is not executed.

But when I am using the app and I go to that particular page, ionViewDidLoad and ionViewDidEnter are executed.

This is not happening on Android less than 7.

Anybody else is having the same behaviour?