Page 1 of 2

Device Id not found

Posted: Sat Nov 16, 2013 7:25 am
by Kirit Vaghela

Hello
I'm working on Push Notification. I'm try to unregister the device using a service. The service is not working. Reason is the device id for android contain semicolon. My device id is like 354905057898191;21302dd0f73a80d5 but in service it take only first part of device id

Url of service:
DELETE https://api.appery.io/rest/push/reg/3...

Error on Service :
{"code":"PNDD006","description":"Device id: 354905057898191 not found"}

Please help me.


Device Id not found

Posted: Sat Nov 16, 2013 8:00 am
by Igor

Hello,

Please try to use escape character before semicolon pre\/pre for query.


Device Id not found

Posted: Sat Nov 16, 2013 9:26 am
by Kirit Vaghela

Hello,

I replace code;/code with code\;/code

but it still not working.


Device Id not found

Posted: Sat Nov 16, 2013 11:22 am
by Igor

Actually said, device id should contain only numbers.


Device Id not found

Posted: Sat Nov 16, 2013 11:26 am
by Kirit Vaghela

OK.
I'm using codepushNotificationDeviceID/code as deviceID. is it correct?


Device Id not found

Posted: Sat Nov 16, 2013 11:44 am
by Kirit Vaghela

I use device.uuid as deviceID and unregister a device for push notification and no error is getting in service. but when I send push notification using code pushNotificationDeviceID/code than device is receiving notification. I dont want push notification after device is unregister.


Device Id not found

Posted: Sat Nov 16, 2013 9:23 pm
by Alena Prykhodko

Where and how do you use it?
Please look at these posts
https://getsatisfaction.com/apperyio/...
https://getsatisfaction.com/apperyio/...


Device Id not found

Posted: Mon Nov 18, 2013 5:02 am
by Kirit Vaghela

I'm using localStorage.getItem('pushNotificationDeviceID') as deviceID. I try to test the service using appery.io but getting same error.
Image


Device Id not found

Posted: Mon Nov 18, 2013 3:21 pm
by Maryna Brodina

Hello! Sorry for a late reply. Seems to be a bug. We're working on it.


Device Id not found

Posted: Tue Nov 19, 2013 4:50 am
by Kirit Vaghela

Thanks for reply