cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-11500) Inconsistent preference name across Windows and iOS platform
Date Mon, 25 Jul 2016 11:37:20 GMT

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

Vladimir Kotikov edited comment on CB-11500 at 7/25/16 11:36 AM:
-----------------------------------------------------------------

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 name="ios">}}
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}


was (Author: vladimir.kotikov):
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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message