You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Shazron <sh...@gmail.com> on 2013/10/03 02:01:38 UTC

Re: config.xml doc queries

Inline, for iOS.


CROSS-PLATFORM:
>
> * For HideKeyboardFormAccessoryBar, does the default form-helper UI
>   only appear when there's more than one input within a form?
>
>
No, it appears all the time. But note that in 3.2.0 this goes away (moved
to a plugin). See https://issues.apache.org/jira/browse/CB-4979


> IOS:
>

> * Please confirm EnableViewportScale allows a viewport metatag to
>   control the range of user scaling. That is, with
>   EnableViewportScale=true, a viewport metatag may actually
>   _disable_ user scaling.
>
>
Yes


> * Based on the above, is it safe to assert the default behavior for a
>   cordova web view in iOS allows user scaling absent a metatag that
>   disables it?
>

Yes


> * Is the deprecated EnableLocation pref still functional?
>
>
No


> * As an alternative to the deprecated EnableLocation pref, current doc
>   suggests calling the Geolocation plugin with the "onload" attribute.
>   Is this method of passing options only possible via config.xml's
>   <feature> tag, as opposed to using the CLI's "plugin add"?
>
>
Yes, feature tag param only


> * Unfamiliar with the KeyboardShrinksView effect. Are there any
>   obvious examples of an app whose webview shrinks as described when
>   the keyboard appears?
>
>
 You can see this better in iOS 7 when the keyboard is translucent.
Basically with this setting is true, your webview is always above the
keyboard, when false, the keyboard is on top of your webview.



> * Also not sure what "spinner" UI effect ShowSplashScreenSpinner
>   produces.  Any obvious examples?
>

Small grey spinner in the middle of your screen. Will be apparent if
AutoHideSplashscreen is false.


>
> * The PhoneGap Build doc references "show-splash-screen-spinner" and
>   "auto-hide-splash-screen" preferences. Please confirm they're
>   superseded by ShowSplashScreenSpinner and AutoHideSplashScreen.
>
>
Question for the Build team, really


> * Does MediaPlaybackRequiresUserAction also apply to audio, or just
>   video? Either way, please confirm the scope is media's autoplay
> attribute,
>   and that JS can initiate playback with no user input.
>

 Both a/v. Yes, it affects autoplay. No, js cannot initiate playback
without user input if this setting is true.


> * The following preferences are listed in PhoneGap Build doc
>   (http://build.phonegap.com/docs/config-xml), but not in Cordova doc
>   for iOS config options. Please confirm if these work, and/or have
>   been renamed as CamelCase:
>
>   - target-device (handset|tablet|universal)
>   - webviewbounce
>   - prerendered-icon
>   - ios-statusbarstyle (default|black-opaque|black-translucent)
>   - detect-data-types
>   - exit-on-suspend
>
>
Question for the Build team, really


> * Is the deprecated stay-in-webview (or StayInWebview) still enabled?
>
>
No idea what this is