Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

push notification get customer values

$
0
0

Hello Guys, my problem is i don't know how get my customer value from the push notification. this is my JSON string:

{"badge": 2, "sound": "default", "alert": "Push Notification Test","pushurl":"http://fortbildung33.de"}
and this is my callback function:
CloudPush.addEventListener('callback', function(evt) {
    alert(evt.payload.pushurl);
});
this is unfortunately not working. if i have a alert of evt get this
{bubbles=false, payload={"android":{"sound":"default","alert":"Push Notification Test","badge":2},"pushurl":"http://fortbildung33.de"}, source=ti.cloudpush.CloudpushModule@4130bb28, type=callback, cancelBubble=false}
I thank you in advance for the help

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>