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.
1 person has
this question
+1
Reply