You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2016/03/14 22:59:33 UTC
[jira] [Comment Edited] (CB-10837) platform specific orientation
preference is not supported
[ https://issues.apache.org/jira/browse/CB-10837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15194236#comment-15194236 ]
Joe Bowser edited comment on CB-10837 at 3/14/16 9:59 PM:
----------------------------------------------------------
There's nothing that says we currently support this feature, so this is a new feature, not a bug.
https://cordova.apache.org/docs/en/latest/config_ref/index.html
was (Author: bowserj):
There's nothing that says we currently support this feature.
https://cordova.apache.org/docs/en/latest/config_ref/index.html
> platform specific orientation preference is not supported
> ---------------------------------------------------------
>
> Key: CB-10837
> URL: https://issues.apache.org/jira/browse/CB-10837
> Project: Apache Cordova
> Issue Type: New Feature
> Components: Android
> Affects Versions: 5.4.1
> Reporter: dcz.switcher
> Labels: build, mustfix
>
> 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