breautek commented on issue #75: URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/75#issuecomment-712359680
From the android [docs](https://developer.android.com/reference/android/R.attr#screenOrientation) Sensor: > Orientation is determined by a physical orientation sensor: the display will rotate based on how the user moves the device. Ignores user's setting to turn off sensor-based rotation. Unspecified: > No preference specified: let the system decide the best orientation. This will either be the orientation selected by the activity below, or the user's preferred orientation if this activity is the bottom of a task. If the user explicitly turned off sensor based orientation through settings sensor based device rotation will be ignored. If not by default sensor based orientation will be taken into account and the orientation will changed based on how the user rotates the device. It sounds like if we used `sensor` it may cause the app to ignore user settings, which sounds like a bad assumption to make. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
