[
https://issues.apache.org/jira/browse/CB-10894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201836#comment-15201836
]
Richard B Knoll commented on CB-10894:
--------------------------------------
I think we should avoid surfacing arbitrarily chosen preferences in config.xml
that just pass their values through to another config file. We already have [a
lot|http://cordova.apache.org/docs/en/latest/config_ref/index.html#preference]
of preferences. That's not to say that these shouldn't make the cut, I just
wonder if there is a case to be made for surfacing every option in
AndroidManifest somehow. That means we should consider adding the
[config-file|http://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#config-file]
element in plugin.xml to config.xml and just address the problem in a general
way (I think someone suggested that in the dev list recently). If there is a
reason to avoid doing that, then we should look into all of the preferences
that should be surfaced. This code looks general enough to make adding more
trivial. We should be wary of having a million preferences, but we also need to
move towards developers being able to treat their platform folders as build
artifacts.
> Add supports-screens support from the config.xml file
> -----------------------------------------------------
>
> Key: CB-10894
> URL: https://issues.apache.org/jira/browse/CB-10894
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Reporter: Alexis Kofman
> Assignee: Joe Bowser
>
> Let the availability to configure supported screens from the config.xml file :
> {code:xml}
> <preference name="android-smallScreens" value="false"/>
> <preference name="android-largeScreens" value="false"/>
> <preference name="android-normalScreens" value="false"/>
> <preference name="android-xlargeScreens" value="false"/>
> <preference name="android-resizeable" value="false"/>
> <preference name="android-anyDensity" value="false"/>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]