Cordova build for Android not works if application use Ext.device.Connection.
In device console I see one error: Uncaught TypeError: Function.prototype.apply: Arguments list has wrong type at file:///android_asset/www/app.js:1
If this component (Ext.device.Connection) not required - all fine, no errors, Cordova build working.
Steps to reproduce the problem:
Generate default application
Enable Cordova for app by: sencha cordova init [appId] [appName]
I am experiencing a similar issue, but the provided workaround doesn't work.
When i require the Ext.device.Device, my cordova build for android dowsn't work.
The following error occurs in the log:
Uncaught TypeError: Cannot read property 'name' of undefined
I could track the line where the error occurs, and found that it occurs in the Ext.device.device.Cordova class, in the onReady method: