Hey everyone,
I am facing the situation where when i send multiple push notification to my app they all show in the notification bar, when i open one of them the callback associated gets called and the coded behavior gets executed however when i open the second notification the code in the callback doesn't get executed but the application just opens. this is part of my code:
var CloudPush = require('ti.cloudpush'); CloudPush.retrieveDeviceToken({ success : successCb, error : errorCb }); // Process incoming push notifications CloudPush.addEventListener('callback', function(evt) { var payload = JSON.parse(evt.payload); handlePushNotificationMessages(payload); });when i open the first notification the callback code gets executed but when i open other notifications the app just opens as if it was launched from the drawer.
Thanks in advance