[
https://issues.apache.org/jira/browse/CB-10837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200683#comment-15200683
]
Nikhil Khandelwal commented on CB-10837:
----------------------------------------
IMO, It's OK to skip the validation at our end. Does the native SDK complain if
the orientation is not valid?
> Add support for platform specific orientation
> ---------------------------------------------
>
> 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: [email protected]
For additional commands, e-mail: [email protected]