We are unable to automatically open the app when we receive the FCM notification

We have developed a ionic app , in that we have used the FCM for push notifications.We had a requirement like if we receive a notification we have to automatically open the app.

Please let is know is ther any way for that.

Thank you.

I don’t think there is a Possibility to do that. 100% not by writing JavaScript Code… Have you informed if this is possible in a native App?