should be using phonegap replacing Device and Connection functions
is there a way in case of running the app via browser to require dynamically the classes
that are failing on native iOS package
here is what I'm trying to do
Code:
getDeviceUID: function() {
if (typeof(device)=="undefined") {
Ext.require('Ext.device.Device');
return Ext.device.device.uuid;
} else {
return device.uuid;
}
},
but Ext.device.device.uuid is undefined unless i require the class with requires on top
of app.js (that again prevent my app to run natively on iOS simulator)
Code:
requires: [
'Ext.MessageBox',
'Ext.device.Geolocation'
//'Ext.device.Connection',
'Ext.device.Device',
//'Ext.device.Camera'
],
thank you again for the help
Alessandro