Register device through Phonegap remote webview


1 comment

  • Avatar

    I figured this out. For some reason the XMLHttpRequest in pushwoosh.js was not working, so I simply changed it to a jQuery ajax POST and it worked. No idea why, but I'll take it!

    I put this in the helper function, and commented out what was already there:

    jQuery.ajax({ type: "POST", url: url, data: params }) .done(function( msg ) { alert( "Done " + msg ); }) .fail(function( msg ) { alert( "Fail " + msg ); });

Please sign in to leave a comment.