device.name has been deprecated for some time, and probably has been removed (but doc not updated)
just repro'ed your steps with 3.3.1-0.1.2 if you tried device.model - it should work On Thu, Dec 19, 2013 at 3:49 PM, Don Coleman <[email protected]> wrote: > I upgraded to 3.3.1-0.1.2 and iOS isn't working anymore. > > Based on Greg's bug report it looks like Android has a similar problem > https://issues.apache.org/jira/browse/CB-5647 > > I'm using Cordova 3.3.1-0.1.2 on OS X 10.9.1, Xcode 5.0.2 (5A3005), Node > v0.10.22 > $ cordova create foo com.example.foo Foo > $ cd foo > $ cordova platform add ios > $ cordova plugin add org.apache.cordova.device > > add the following to app.deviceReady in www/js/index.js > > alert("Device Name " + device.name); > > device.name fails > cordova_plugins.js doesn't contain any plugins >
