Not sure how these prefs are going to work. Usually prefs are for runtime preferences, while these are really build time preferences and probably the domain of the CLI since they modify the Info.plist and .pbxproj files.
On Mon, Jul 7, 2014 at 6:34 AM, tommy-carlos williams <[email protected]> wrote: > +1 > > On 7 July 2014 at 23:29:46, Andrew Grieve ([email protected]) wrote: > > +1 > > > On Mon, Jul 7, 2014 at 8:39 AM, Sergey Grebnov (Akvelon) < > [email protected]> wrote: > >> Phonegap build already supports[2] preferences below and we could make >> this a part of Cordova. I can implement this if we agree. Thoughts? >> >> #1 target-device >> For targeting a specific device; possible values are handset, tablet, or >> universal (default). >> Example: >> <preference name="target-device" value="universal" /> >> >> #2 deployment-target >> This sets the IPHONEOS_DEPLOYMENT_TARGET in the build, which tranlsates to >> the MinimumOSVersion in the ipa Propertly List. >> Example: >> <preference name="deployment-target" value="7.0" /> >> >> [2] >> http://docs.build.phonegap.com/en_US/configuring_preferences.md.html#_ios_only >> >> Thx! >> Sergey >> >
