This error usually points to the mismatch between gateways, i.e you were sending pushes to your development/sandbox build through production gateway or vice versa. It could be possible that some of your users have another build installed on their devices.
In order to check configuration parameters, basically, it would be enough to compare application configuration and configuration in Pushwoosh Control Panel. The gateway and bundle id should match.
How it looks in Pushwoosh Control Panel:
The application build should contain the same parameters, i.e. identical "package name" and "gateway" value.
You can check it in console logs of the device. You will find the Guide on how to obtain console logs in this article: Console-logs-and-how-to-work-with-them
The goal is to find /registerDevice method call on app start and to check the mentioned parameters.
Here is the example of /registerDevice method where package and gateway could be located:
x
| Pushwoosh request:
| Url: https://D886A-C1391.api.pushwoosh.com/json/1.3/registerDevice
| Payload: {"request":{"gateway":"production","jailbroken":0,"app_version":"1.9",
"application":"D868A-C13C1","sounds":["bubble.wav"],"device_type":1,"userId":
"1457691684303547","language":"en","hwid":"FBCA07FE-05EE-4770-B4BA-AB6737BC1A98",
"package":"com.pushwoosh.pushon","timezone":"25200","push_token":
"ae784019d1b8c8e38a1ea06f0800c17a4fa986d6e2d346fc79373e92439ff8f7",
"os_version":"11.2.2","v":"5.5.1","device_model":"iPhone7,1"}}
| Status: "200 no error"
| Response: {"status_code":200,"status_message":"OK","response":{"iosCategories":[{"categoryId":0,"buttons":[{"id":"33389","label":"test","type":"0","startApplication":0},{"id":"1233","label":"ajhdkj","type":"1","startApplication":0}]}]}}
x
Comments
0 comments
Please sign in to leave a comment.