This question is locked. New answers and comments are not allowed.
Hi guys,
I have the following problem. I created a "Cross-platform Device Application (Kendo UI Mobile)" using Icenium Mist. Without changing anything I add the following code in hello-world.js:
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
var contact = navigator.contacts.create({"displayName" : "Contact1"});
contact.save();
}
When I run it into the simulator (no matter Android or iOS) I'm getting an error in cordova.js on line 962. The error occurs because Math.uuid method is undefined.
Is this a known issue or I should perform some additional steps?
Thanks
Ivan
I have the following problem. I created a "Cross-platform Device Application (Kendo UI Mobile)" using Icenium Mist. Without changing anything I add the following code in hello-world.js:
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
var contact = navigator.contacts.create({"displayName" : "Contact1"});
contact.save();
}
When I run it into the simulator (no matter Android or iOS) I'm getting an error in cordova.js on line 962. The error occurs because Math.uuid method is undefined.
Is this a known issue or I should perform some additional steps?
Thanks
Ivan