cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse <purplecabb...@gmail.com>
Subject Re: platformId for new windows template
Date Thu, 10 Jul 2014 19:35:06 GMT
Sounds good to me.

@purplecabbage
risingj.com


On Wed, Jul 9, 2014 at 11:38 PM, Sergey Grebnov (Akvelon) <
v-segreb@microsoft.com> wrote:

> There is the following important property provided by cordova.js -
> 'cordova.platformId' which specifies the platform app runs on.  Since we
> introduced support of new Windows Universal Apps which could be compiled
> for Windows 8.0, Windows 8.1, Windows Phone 8.1 we should agree what to
> report as a platformId for those target platforms.
>
> As of 3.5.0 we report:
> . 'windowsphone' on WP8
> . 'windows8' on Windows 8.0
> . Windows 8.1 and Windows Phone 8.1 are not supported
>
> Proposed:
> . 'windowsphone' on WP8 (wp8 continues to be separate platform, no changes
> here)
> . 'windows8' when compiled as Windows 8.0 (to be compliant with old code)
> . 'windows' for Windows 8.1 and Windows Phone8.1. This will be consistent
> with iOS where we  report 'ios' for both tablets and phones.
>
> So, I propose to continue using old values for previously supported target
> platforms and start reporting 'windows' for the new targets.
>
> Thx!
> Sergey
>

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