cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10837) Add support for platform specific orientation
Date Mon, 21 Mar 2016 15:33:25 GMT

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

ASF subversion and git services commented on CB-10837:
------------------------------------------------------

Commit 69a2a5b551e50bb2707cdbd7b0b768735f9f9a62 in cordova-android's branch refs/heads/master
from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=69a2a5b ]

CB-10837 Support platform-specific orientation on Android

Remove processing of "orientation" preference and let
user to specify any platform-specific value for Android

 This closes #281


> Add support for platform specific orientation
> ---------------------------------------------
>
>                 Key: CB-10837
>                 URL: https://issues.apache.org/jira/browse/CB-10837
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 5.4.1
>            Reporter: dcz.switcher
>              Labels: build, mustfix, regression
>
> Hi,
> I want to set Manifest.xml activity with android:screenOrientation="nosensor"
> http://developer.android.com/guide/topics/manifest/activity-element.html#screen
> In cordova doc : 
> Additionally, you can specify any platform-specific orientation value if you place the
<preference> element within a <platform> element:
> So, I do it in config.xml
> <platform name="android">
>         <preference name="orientation" value="nosensor" />
> </platform>
> but on build : 
> Unsupported global orientation: nosensor. Defaulting to value: default



--
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