cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dcz.switcher (JIRA)" <>
Subject [jira] [Created] (CB-10837) platform specific orientation preference is not supported
Date Thu, 10 Mar 2016 13:43:40 GMT
dcz.switcher created CB-10837:

             Summary: platform specific orientation preference is not supported
                 Key: CB-10837
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 5.4.1
            Reporter: dcz.switcher


I want to set Manifest.xml activity with android:screenOrientation="nosensor"

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

but on build : 
Unsupported global orientation: nosensor. Defaulting to value: default

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message