I'm trying to figure out if I can capture the event in cordova for when a user clicks on a notification from outside the app. Our notifications have some extra fields that users can use to drive to specific areas of the app. I see some debugging commands when the app is backgrounded, but I have no way of capturing that inside cordova. Is there an event that I'm missing, or is this just not possible?
Jun 3 10:39:10 iPhone AppName[1478] <Warning>: [D] -[UAirshipPlugin launchedFromNotification:] [Line 673] The application was launched or resumed from a notification {
aps = {
alert = "Fed hike in June effectively off table after jobs data, futures market indicates >>";
badge = 0;
};
expiration = "6/3/2016 1:38:36 PM";
target = "urn:mwpublishing/bulletin/story/71f97ba4-2981-11e6-a40c-904945ea50ed?lastupdatedoa=42524.3880787037";
}
Comments
5 comments