...
When application is resumed the following code will check if it was due to push notification. if so feel free to extract the relavennt relevant custom field fro from the payload
Code Block | ||||
---|---|---|---|---|
| ||||
function onResume() { AppoxeePlugin.getLastPushPayload(function (json) { var jsonString = JSON.stringify(json); if (jsonString && jsonString.length > 2) { alert("Last Push Payload: " + jsonString); } }); } |
...