florisdh opened a new issue #75: URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/75
# Bug Report ## Problem Since a few weeks we noticed that the orientation suddenly didn't allow unlocking anymore in our app. ### What is expected to happen? After calling unlock(), the app should use the sensor for the right orientation. ### What does actually happen? When calling unlock(), it was going back to forced portrait. ### Environment, Platform, Device Tried on multiple android devices. ### Version information - @capacitor/*: 2.4.0 - Android build: (minSdkVersion = 21, compileSdkVersion = 29, targetSdkVersion = 29) - Android version: 10 I've made a fix which we are using now, which can be found [here](https://github.com/florisdh/cordova-plugin-screen-orientation/commit/4fc347e30e70125ff6a5b5a6302e23ea8c60e957). - Based on the [3.0.2](https://github.com/apache/cordova-plugin-screen-orientation/releases/tag/3.0.2) tag since the master branch didn't work for us ---------------------------------------------------------------- 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]
