[ 
https://issues.apache.org/jira/browse/CB-11500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391727#comment-15391727
 ] 

Vladimir Kotikov commented on CB-11500:
---------------------------------------

Hey, Linda. Looks like this is something we have documented in [Config.xml 
reference|http://cordova.apache.org/docs/en/6.x/config_ref/index.html#preference]
 - the {{all}} value is specific to iOS platform and should be used within 
{{platform}} tag only. The Android platform also behaves this way - specifying 
{{all}} value will break the android build: 
{noformat}
:mergeDebugResources
:processDebugManifest
:processDebugResources
     
D:\PROJECTS\Temp\CB-11500-orientation\platforms\android\build\intermediates\manifests\full\debug\AndroidManifest.xml:32:40-43:
     AAPT: String types not allowed (at 'screenOrientation' with value 'all').
     FAILED

BUILD FAILED

Total time: 1 mins 55.634 secs
FAILURE: Build failed with an exception.
{noformat}

> Inconsistent preference name across Windows and iOS platform
> ------------------------------------------------------------
>
>                 Key: CB-11500
>                 URL: https://issues.apache.org/jira/browse/CB-11500
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Windows
>    Affects Versions: 6.1.1, 6.2.0
>         Environment: MacOS
>            Reporter: linda zhong
>            Assignee: Vladimir Kotikov
>
> <preference name="orientation" value="all" /> has to be “default” for Windows 
> to compile.  If it is set to “all”, Windows will not compile. BUT, for iOS to 
> rotate, it needs to be set to “all”



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to