cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <shaz...@gmail.com>
Subject Re: Cordova 3.3.1-0.1.2 doesn't load javascript for plugins
Date Fri, 20 Dec 2013 00:39:33 GMT
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 <don.coleman@gmail.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message