Add custom data in push notifications


We have a chat application. We are sending push notifications to send messages between ends. we need to send the session_id along with the user message and i need to open that window when he clicks on push notification alert.

Now, when i click on notification(When i am in outside app) it always sending to login page. How can i acheive this and add custom session data to notification?

Please advice.

1 person has
this question
This topic is no longer open for comments or replies.