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

ASF GitHub Bot commented on CB-10837:
-------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-android/pull/281

    CB-10837 Support platform-specific orientation on Android

    This removes processing of "orientation" preference lets user to specify 
any platform-specific value for Android.
    
    See [CB-10837](https://issues.apache.org/jira/browse/CB-10837)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-android CB-10837

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-android/pull/281.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #281
    
----
commit e275e0fc4dff1747d0946fc88b858d606abe6222
Author: Vladimir Kotikov <[email protected]>
Date:   2016-03-18T12:07:16Z

    CB-10837 Support platform-specific orientation on Android
    
    This removes processing of "orientation" preference lets user to specify 
any platform-specific value for Android

----


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to