Onesignal message with key

I am having tab layout in my app. I want to send the url in push notification as key with value. If the user open the notification, then a specific tab should open and url should be laoded. How to do it?

Currently it is not possible.

When user open notification, your app will open with screen1.

And content of screen1 will be shown.

There is only one screen, but it has tab layout.

ok , you just tell me how to open the notification with key & value.


When you open your app and in screen1, you are showing tab1, then when user open app with notification then he will be on screen1 with tab1.

You can not redirect him to tab2 or anything.

In simple words, you can not trigger an event like open another screen when user open notification.

Can u explain?