Hi all!

Having some problems with my registerDevice() function. I'm using PhoneGap Builder(with latest aviable version of pushwoosh plugin), this problem appears just for my Android 4.4.4 device. My function looks like

 pushNotification.registerDevice(function(status) {
   var deviceToken = status['deviceToken'] || status;

   $.post(API_NOTIF,JSON.stringify({
     token:deviceToken,
     session_id:session_id             
   })).fail(function(data){
     alert('FAIL'+JSON.stringify(data));
   });

 },function(status) {
   alert(JSON.stringify(['failed to register ', status]));///This message appears
 });

Any ideas why I'm having this problem? Thanks for any help!)

asked 27 Feb '15, 15:51
xyzo's gravatar image

xyzo
212

Hi, it would be best if you contact Pushwoosh support and provide them with a console log generated with DDMS tool of Android Studio (please refer to this FAQ for details).

permanent link
answered 02 Mar '15, 07:33
Benedict's gravatar image

Benedict
7127

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×447
×91
×76

question asked: 27 Feb '15, 15:51

question was seen: 859 times

last updated: 02 Mar '15, 07:33