In iOS I need to store all the sent push notifications which user has interacted with in local database and show it in the notifications screen, when user tap on any notification I need to display all the details associated with push like alert body, title, summary, actions etc.
My problem is how can I reopen landing page which was set as action from the UA dashboard. below is my notification payload
FOREGROUND NOTIFICATION
{
"^p" = "https://dl.urbanairship.com/binary/public/VX58HvPeSBOnr8fElQAX6g/7585849c-12b7-44e4-b1ec-b1ffd7ab4a8d";
"_" = "24372321-0ff6-4984-a335-cac1bac74332";
aps = {
alert = "Only Push \nAction = DEEP LINK = reward screen\n\n";
};
"com.urbanairship.metadata" = "eyJ2ZXJzaW9uX2lkIjoxLCJ0aW1lIjoxNTUyOTk4OTYwMzM1LCJwdXNoX2lkIjoiYThhMTY5NjctYThkNS00Y2Y4LWFlZDQtMmQ0NWU3NzVmNGJmIn0=";
}
I'm storing value of the field "^p" in database and I need to reopen the same webpage that opened automatically upon interacting with UA push, I can load same link in webview but that is not what I expect, as native webview can't handle deeplink and all that associated with button in landing page, request to guide me in achieving my requirement.
Thanks,
Dhaval
Comments
2 comments