While we develop apps, how do we get around this ';' when updating the device, or is more a case, there is no work round and have to wait ?
While we develop apps, how do we get around this ';' when updating the device, or is more a case, there is no work round and have to wait ?
Hello, try to use deviceid with encodeURIComponent();
localStorage.setItem('deviceID', encodeURIComponent(device.uuid));
I used the above, and it failed. Where do I use it ?
Use it when sending UUID value to the service Update Device.
var deviceID = encodeURIComponent(localStorage.getItem('deviceid'));
console.log('deviceid now = ' + deviceID);
The above is what I entered into the JS function.
It comes back as 'Null'
What am I doing wrong ?
Thanks
Try something like this:
pre
var deviceID = localStorage.getItem('uuID');
return encodeURIComponent(deviceID);
/pre
No, sorry, that did not work. Still the same number after the ';' ![]()
Strange, it works for me with ';' - can you share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a? We'll take a look.
I have shared this. Do I need to give you any information ?