Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E3E4B1083B for ; Fri, 20 Dec 2013 16:39:57 +0000 (UTC) Received: (qmail 62721 invoked by uid 500); 20 Dec 2013 16:39:52 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 62698 invoked by uid 500); 20 Dec 2013 16:39:50 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 62683 invoked by uid 99); 20 Dec 2013 16:39:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Dec 2013 16:39:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bowserj@gmail.com designates 209.85.223.173 as permitted sender) Received: from [209.85.223.173] (HELO mail-ie0-f173.google.com) (209.85.223.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Dec 2013 16:39:40 +0000 Received: by mail-ie0-f173.google.com with SMTP id to1so3367964ieb.32 for ; Fri, 20 Dec 2013 08:39:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=TzKKLnUUC6fXwBkvnvqESJIl/Uoa2hgx44Eq1l0JRCg=; b=lmRBRm3qekQGcs4iETKA7rZYZN4y1vJQX5PediuekiIUTmSiKcA9CdEaRHa/wBGIBR qzcyfT8d86NBwG5lJr4jGrEmKRbLOjH+PVTlgz5BmqeV3c2exRGC57n40An0aXawhbyg pFs5oMqH3B6xlvhKyhzYSUgyObB/gBsW0Lq5eWQrJq+LEf6Mx8Upasl47xVCDj9muegp g0YpydN3Ej1UPyABdChYJcmNuGr1TNif17rLqBsudcR+qQg8o5utkb/wZxJnsh7GT81m qmoysR+xIC5Xah+q9yMJVYy3xcv3rsavk4DWT4fRhGG6xWG6jbG+ZUNqAYB20ZKbrdJk f/WQ== MIME-Version: 1.0 X-Received: by 10.50.73.136 with SMTP id l8mr8892424igv.7.1387557559788; Fri, 20 Dec 2013 08:39:19 -0800 (PST) Received: by 10.50.114.132 with HTTP; Fri, 20 Dec 2013 08:39:19 -0800 (PST) Reply-To: bowserj@apache.org In-Reply-To: References: Date: Fri, 20 Dec 2013 08:39:19 -0800 Message-ID: Subject: Re: Cordova 3.3.1-0.1.2 doesn't load javascript for plugins From: Joe Bowser To: dev Cc: Braden Shepherdson Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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 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 wrote: > >> *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 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 >> > 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 >> > > >> > >>