Tom7044357
Posts: 0
Joined: Thu Aug 14, 2014 4:58 pm

No device id in database

I want to add push notifications to my application. The first time i tried to use push notifications there was 1 device_id registered in my database so i tried to use that one with https://api.appery.io/rest/push/reg/3... but got:
{
"code": "PNDG006",
"description": "Device id: 354074092692281 not found"
}

Then i tried to delete the device_id from my database en reinstalled the application on my mobile, but now i don't get another device_id in my database.

I use an apk file(mobile: samsung galaxy s7).

Can anyone help me?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

No device id in database

Hello Ron,

Could you please clarify what libraries version do you use and what Cordova plugins are enabled there?

Tom7044357
Posts: 0
Joined: Thu Aug 14, 2014 4:58 pm

No device id in database

Hello Serhii,

I didn't do anything with the Cordova plugins, but here is my library version
Image

Edit: All Cordova plugins are disabled

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

No device id in database

Please enable plugins: Device, PushPlugin, Notification and install the app again to the device.

Tom7044357
Posts: 0
Joined: Thu Aug 14, 2014 4:58 pm

No device id in database

Hello Serhii,

This fixed it. Weird though that there was already a device id in my database even though i didn't had it enabled earlier. That's why i thought it wasn't necessary.

Thanks!

Return to “Issues”