Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.4.1
-
None
Description
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