I compile my Android app using crosswalk, but for some reason I cannot get the device name. I included a reference to the cordova.js file but nothing happens when I use:
alert(device.model)
In AndroidManifest.xml I added this permission:
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
What else do I need to do?