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 0F589105B3 for ; Wed, 4 Mar 2015 20:00:34 +0000 (UTC) Received: (qmail 66934 invoked by uid 500); 4 Mar 2015 20:00:30 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 66891 invoked by uid 500); 4 Mar 2015 20:00:30 -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 66879 invoked by uid 99); 4 Mar 2015 20:00:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2015 20:00:30 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of purplecabbage@gmail.com designates 209.85.218.49 as permitted sender) Received: from [209.85.218.49] (HELO mail-oi0-f49.google.com) (209.85.218.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2015 20:00:05 +0000 Received: by oibg201 with SMTP id g201so7755435oib.10 for ; Wed, 04 Mar 2015 12:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EEtclbKsbDb3QZDF3O/wpeJna7UumoKxVpUHto2eb8w=; b=eUej9DBgzGEZuv9AAGLoYw+FdS/j8+Ju2WB890UX6DecrAJ18/Ssdrbq1HXmncAxIV vp49sP45zGAO/5cIG2l+FDxhg22keFUD5c3HrMceA6pNiuKB5LbIeegja/F0AHxTGqDa U0EeiTk6GDlc2PyvnCUGGICjdeDp/U4mFg+gy5N+am0v7jqlu6hzC8hOv+SA5QwxrLlx ZT7krFhEXXoutTeQNpA90lHwkRxz3DFFEbmVQ/YnbQwMtITLdjeVjPV3a24a7zIAg8xH rjymnz5EmPlawuewCLh+88so8k+frXpvsVwgnVlD9rsfipOuneBxPL3QcQ3Cqaf7stIt mrzw== MIME-Version: 1.0 X-Received: by 10.182.158.195 with SMTP id ww3mr4413764obb.22.1425499203645; Wed, 04 Mar 2015 12:00:03 -0800 (PST) Received: by 10.76.13.102 with HTTP; Wed, 4 Mar 2015 12:00:03 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Mar 2015 12:00:03 -0800 Message-ID: Subject: Re: 'windows8' vs 'windows' confusion in the plugins From: Jesse To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=089e01537d1ea938b705107be5e3 X-Virus-Checked: Checked by ClamAV on apache.org --089e01537d1ea938b705107be5e3 Content-Type: text/plain; charset=UTF-8 The 'correct' of your list is : > Some (like device-motion, file, and file-transfer) only have a src/windows > folder, and both "windows" and "windows8" in plugin.xml point to that folder The in plugin.xml is there for older windows8 projects that have not been updated. In some of the above cases, if there is a windows8+windows src or www folder it could be that they have differences in the code. ie. 'windows8' => windows 8.0 and 'windows' => windows 8.1 so there are also platform API differences. @purplecabbage risingj.com On Wed, Mar 4, 2015 at 11:49 AM, Staci Cooper wrote: > Why does the device plugin have both a src/windows and a src/windows8 > folder? Under what circumstances does the src/windows8 get used? My > understanding is that 'windows8' was soft deprecated and as of 3.6 just > maps to 'windows'. I know that if you run 'cordova platform add windows8', > it will still use the src/windows folder when you add the device plugin. > > I looked through the other plugins to see what they were doing, but they > are very inconsistent: > > Some (like device-orientation, dialogs, and media) only have a src/windows8 > folder and don't even have a in plugin.xml > Some (like statusbar) only have a src/windows folder and don't even have a > in plugin.xml > Some (like device-motion, file, and file-transfer) only have a src/windows > folder, and both "windows" and "windows8" in plugin.xml point to that > folder > Some (like contacts and device) have src/windows8 and src/windows folders, > used by windows8 and windows respectively in plugin.xml > Inappbrowser has a src/windows and a www/windows8, used by windows and > windows8 respectively > > > Can anyone explain what's going on here? > --089e01537d1ea938b705107be5e3--