Hi there,

The Orientation preference isn't quite as explicit as I would like it to
be, at the moment using portrait as the setting allows the app to orient
itself as portrait or upside-down depending on the device's orientation.
Ideally we'd be able to set something like portraitUpright or similar,
which would translate to the app being locked to portrait orientation, and
preventing it from going upside. The same could be done for the various
landscape modes.

I understand that there is a plugin that allows you to do this,
https://github.com/apache/cordova-plugin-screen-orientation, but that:
- requires another dependency in your project
- requires more code in the project
- if you do not need to change orientation of the app after building it, it
makes more sense to only use the Orientation config setting.

I'm happy to help make the contributions to cordova ios and cordova android
to make this happen.

Regards,
Mathew

Reply via email to