Mark is actively working on this now. https://issues.apache.org/jira/browse/CB-5647
On Wed, Feb 12, 2014 at 5:08 AM, 罗琦 <[email protected]> wrote: > I didn't see the fix in the latest 3.3.1-0.4.2 > > Is anyone working on it or did I miss something? > > > ------------------ Original ------------------ > From: "Don Coleman"<[email protected]>; > Date: Sat, Dec 21, 2013 03:41 AM > To: "dev"<[email protected]>; > > Subject: Re: Cordova 3.3.1-0.1.2 doesn't load javascript for plugins > > > Prepare seems like a good work around. I agree with Joe, pushing a new > release today is a bad idea. > On Dec 20, 2013 11:51 AM, "Andrew Grieve" <[email protected]> wrote: > > > CLI is released on its own as well as when we do a platforms release. > > > > I believe this is a pretty minor bug though, since running prepare again > > fixes things (which happens when you run "cordova build"). > > > > > > On Fri, Dec 20, 2013 at 11:39 AM, Joe Bowser <[email protected]> wrote: > > > > > Is the CLI released along with the platforms? Today is kind of a bad > > > day to release anything, as this is the last working day of Adobe for > > > the year, and over half our team is already on PTO. I'm sure others > > > are in the same boat. > > > > > > On Fri, Dec 20, 2013 at 7:30 AM, Andrew Grieve <[email protected]> > > > wrote: > > > > I'm seeing the same thing. > > > > > > > > However: > > > > $ cat platforms/ios/.staging/www/cordova_plugins.js > > > > shows the correct info, and if I run "cordova prepare", then > > > > $ cat ./platforms/ios/www/cordova_plugins.js > > > > shows the right stuff. > > > > > > > > I hit this bug last week, and Braden figured out that the fix for > > CB-5579 > > > > had a side-effect of causing CLI to put things in .staging that > should > > > > actually go straight in www/. > > > > > > > > Braden - did you ever file this bug? > > > > > > > > > > > > > > > > > > > > On Fri, Dec 20, 2013 at 9:35 AM, Don Coleman <[email protected]> > > > wrote: > > > > > > > >> *device.name <http://device.name> *was a bad example. > > > >> > > > >> The problems I'm seeing is that *device* doesn't exist. This also > > > happens > > > >> with other plugins I've tried. The plugin gets installed but the > > > js-module > > > >> code doesn't. > > > >> > > > >> $ cat ./platforms/ios/www/cordova_plugins.js > > > >> cordova.define('cordova/plugin_list', function(require, exports, > > > module) { > > > >> module.exports = []; > > > >> module.exports.metadata = > > > >> // TOP OF METADATA > > > >> {} > > > >> // BOTTOM OF METADATA > > > >> }); > > > >> > > > >> > > > >> On Thu, Dec 19, 2013 at 7:39 PM, Shazron <[email protected]> wrote: > > > >> > > > >> > 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 > > > >> > > > > > >> > > > > >> > > > > > >
