Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Cant retrieve uuid

Hi

I am trying to display the uuid to the user but it does not work.

I get uuid on device ready like this....

Apperyio.storage.myLocation.update("$['uuID']", device.uuid);

Then I need the user to see uuid on button click event like this.
var dev = Apperyio.storage.myLocation.get("$['uuID']");
alert('Use the following uuid to register... ',dev);

The alert displays with the text but does not show the uuid.

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

Cant retrieve uuid

Hello Deon,

It might be not ready on the device ready event. Please add the interval to check is uuid ready or not. Right after it is not empty - set that value to the Storage variable

Return to “Issues”