Ext.device.* not working on native Android app with Sencha Touch 2.1
REQUIRED INFORMATION Touch version tested:
Command version tested: Devices tested Description: - Ext.device.* functionality does not work in packaged app on android although it works in unpackaged browser.
Steps to reproduce the problem: - sencha generate app path C:\BlaBla\Demo2
- modify app.js to require Ext.device.Camera and Ext.device.Notification
- modify packager.json with appropriate values
- modify Main.js to add button that calls Ext.device.Notification.show() and Ext.device.Camera.capture
- Open index.html in Chrome browser via Web Server -> Functionality works (Notification displayed, Camera.capture() returns demo url)
- sencha app build native
- Start emulator
- adb -install -r MyApp.apk
- run demo app on Emulator
The result that was expected: - Same behaviour as in browser: notification displayed, camera functionality
The result that occurs instead: - Nothing happens on pressing the button
Test Case: See full project code and packaged apk at http://www.neunbeere.de/ExtRef/SenchaTouch2Demo2.zip HELPFUL INFORMATION Operating System:
Sencha Command v3.0.3.309
I am using sencha command v3.0.2.288 and I am experiencing the same issue. When can we expect the release of Sencha Command v3.0.3.309? This is very frustrating :s