Ionic 4 fcm push notification background router navigate

Hi,

I’m using ionic fcm for push notifications and I want to router navigate when a push notification tapped.

I already tried as showing in the following figure but it’s not working. And it’s working for foreground but not for background.

I have solved the issue by adding

"click_action": "FCM_PLUGIN_ACTIVITY", to notification

as mentioned in this post