Important! A new Community experience launched on September 26, 2017. Read more about it here or continue to Base Camp.
Vote up!
0 Votes
1 Replies

Navigate to different screen depending upon notification

Deepak Nandanwar on Feb 19, 2017 05:05 EST

Posted In
Vote up!
0 votes
Vote down!

You could try and read the notificationobject in your notification handler callback. Something like this:

function Global_online_callback(notificationobject, actionid){
    kony.print("### Running app callback for actionid: " + actionid);
    kony.print("### Online notificationobject: " + JSON.stringify(notificationobject));
    var notificationstring = notificationobject.categoryId;

//now do something based on the notificationobject


but I noticed the notificationobject is not always filled.


Replied by: Feb 22, 2017 06:26 EST