Good morning, I have an issue concerning registration for push notification. Here is my problem: i created mobile application for both platforms (android and ios) and i added a button on/off for notification. When i install my app on device and click for the first time on the On button the user register correctly, same for the unregistered scenario. But when i want to register again the response message "Ok" which everything is worked just fine but no user added to the pushwoosh notification. So please if u may help me with is and if there a way to unregistered the user and then registered without any problem. Thanks in advance.

asked 27 May '15, 09:30
Rayan%20Issa's gravatar image

Rayan Issa
1

Solved by using the correct JSON request without extra space in the "device_type" parameter.

.put("application", APPLICATION_CODE).put("push_token", deviceToken).put("language", "en").put("hwid", hwid).put("timezone", 3600).put("device_type",3);
permanent link
answered 29 May '15, 08:52
Andrew_H's gravatar image

Andrew_H
3766

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
×353
×165

question asked: 27 May '15, 09:30

question was seen: 984 times

last updated: 29 May '15, 08:52