I need to check whether user has enabled or disabled the push notification service for my app. Can I do this with pushwoosh for cordova or any other method? I'm using phonegap v 2.5.

asked 11 Feb '14, 04:32
vishnurajreubro's gravatar image


Just found this one after posting : https://community.pushwoosh.com/questions/1852/push-status-only-available-after-app-relaunches

Is there any way to actually call a method to get the status?

OOPS : Acidentally put this as an answer below but could not delete it. If Admins could delete it, that would be great.

(06 Feb '15, 13:55) calendee-push calendee-push's gravatar image

Finally figured out how to resolve my issue : https://community.pushwoosh.com/questions/1852/push-status-only-available-after-app-relaunches/1855

However, it doesn't answer the general question of : Is there a method to call to check status of notifications?

(06 Feb '15, 14:56) calendee-push calendee-push's gravatar image


Please note that if push notifications was rejected after a user had been using your app for some time Pushwoosh unregisters this device from pushes. In case a user rejects to receive pushes right upon installation, Pushwoosh will not know about it because device would not register for pushes. I think that the "getUnregisteredDevices" API method would be useful for your case. With this method you can retrieve a list of unsubscribed devices.

A POST request with the following code should be sent to


 "auth": "API_ACCESS_TOKEN",

And the response from the server will look as follows:

       "1":[{"push_token":"test_purpose_record","datetime":"2014-05-22 12:59:14"},
             {"push_token":"test_purpose_record","datetime":"2014-05-22 12:48:21"}
       "3":[{"push_token":"APA91bGxH6YG2iFXjnm5qd-m2TuNNMhj-ErA21_oWh5Dc4HgGIlMqcg6RQhIvVP_edqvQ4Vi_cHw1Sku-NhzumaYecz6zFI4I_aSgAUFwpBrQOA7aWR4pXlqUVFeSejKDunNeiU1ZQ59hQRiqm4nOqWkLjhVd6Dy7g","datetime":"2014-05-22 12:42:21"}

Once requested this list will be removed from the logs and the next similar request will provide the next pack of tokens. One response contains up to 1000 tokens.

I hope that this info would be helpful for you.

permanent link
answered 19 Feb '15, 13:17
Andrew_H's gravatar image


Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 11 Feb '14, 04:32

question was seen: 1,586 times

last updated: 19 Feb '15, 13:17