Giannis Pelelis
Posts: 0
Joined: Tue Nov 12, 2013 8:20 pm

Tablet on devices collection returns null

I registered a tablet on devices collection of a database ,which normally returns first a "null" on deviceId (eg. {"deviceId":null;9be046b129549304}
When I try to update that device (using put) I get
code"description":"Device id: null not found"/code

Generally speaking update method works pretty well with mobile devices.
I also tried to send encoded url,but also fails to update ...

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Tablet on devices collection returns null

Hello! Sorry, it's a bug. We'll fix it.

Giannis Pelelis
Posts: 0
Joined: Tue Nov 12, 2013 8:20 pm

Tablet on devices collection returns null

This might work for a while on android

pre
code var deviceID = device.uuid;
var str = deviceID.slice(deviceID.indexOf(&quot")+1); /code
/pre

As I see I only need the last digits of uuid to make it work

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Tablet on devices collection returns null

Thank you for update!

Return to “Issues”