It would be great if we have a unified format across all platforms. It would be great if these options can also be specified in config.xml - that would also help IDEs.
-----Original Message----- From: Jesse [mailto:purplecabb...@gmail.com] Sent: Thursday, August 7, 2014 3:32 PM To: dev@cordova.apache.org Subject: Re: platform switches for Windows Universal Apps cordova run ios --retina --64bit --family ipad cordova run android --target=X We need to clean this up I think ... @purplecabbage risingj.com On Thu, Aug 7, 2014 at 2:58 PM, Parashuram Narasimhan (MS OPEN TECH) < panar...@microsoft.com> wrote: > I think we should also ensure use reuse concepts that already exist in > other platforms. How are phone vs tablet options specified for Android > and iOS on the command line? How do we plan to do it in the future ? > > -----Original Message----- > From: Sergey Grebnov (Akvelon) [mailto:v-seg...@microsoft.com] > Sent: Thursday, August 7, 2014 5:25 AM > To: dev@cordova.apache.org > Subject: platform switches for Windows Universal Apps > > New Windows platform template supports standard Windows apps as well > as Windows Phone 8.1 apps. As a developer I need an option to specify > which target I should run when doing 'cordova run/emulate' (run phone > version on the device/emulator or run windows store app). > > Current draft implementation uses '-store' and '-phone' switches but > we should discuss final names for them. Here are a few alternatives. > Thoughts? > > --tablet > --handset or --phone > or --targetDevice="tablet, handset" <- similar to how we define target > chip architecture > > Thx! > Sergey >