Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Android return extras format is {url=xxx.com} #1

phpcxy opened this Issue Aug 14, 2012 · 1 comment


None yet
2 participants

phpcxy commented Aug 14, 2012

Please look at this log:

08-14 16:44:15.120: I/MyApp - UALib(17746): Javascript Calling back: window.pushNotification.pushCallback({"message":"TEST MSG2224445new","extras":{key1=value1}});

The extras did not return json format,so this code will "alert undefined" :

push.getIncoming(function (incoming) {
    if (incoming.message) {
        alert("Incoming push message: " + incoming.message;

    if (incoming.extras.url) {

And if I return JSONObject from JAVA,it works.

i'm sorry about my poor English,hope you understand it @@


rlepinski commented Jul 31, 2013

Please file another issue if you are still having this issue in the latest release.

@rlepinski rlepinski closed this Jul 31, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment