You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/01/06 03:12:38 UTC

[GitHub] distinctdan opened a new issue #611: How to get app to only be in reverseLandscape orientation?

distinctdan opened a new issue #611: How to get app to only be in reverseLandscape orientation?
URL: https://github.com/apache/cordova-android/issues/611
 
 
   According to the docs, it appears like cordova only supports generic "portrait" and "landscape" orientations. The cordova game I'm building is tilt-based, so I want to lock it into only 1 orientation, but the landscape setting still allows my app to rotate between landscape and reverseLandscape. I'm aware of the screen orientation plugin, but it only works at webview runtime, which is too late for the splash screen.
   
   Both iOS and Android natively support locking apps into any of the 4 orientations, so it seems like cordova ought to support this too through the orientation property in the config.xml. Or, maybe I'm missing something and there's already an easy way to do this?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org