sajallimbu opened a new issue, #128: URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/128
# Bug Report ## There is issue with .unlock() which causes the app to rotate twice in iOS ### What is expected to happen? The device should rotate once to landscape-primary(90) degree and also able to rotate to landscape-secondary(-90). ### What does actually happen? The device rotates twice at once. First to landscape-primary(90) and to landscape-secondary(-90) and stays there. ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> There is already a bug report for this [here](https://github.com/apache/cordova-plugin-screen-orientation/pull/107#issue-1393446662) but even with the latest version the issue is still there. ### Command or Code <!-- What command or code is needed to reproduce the problem? --> screen.orientation.unlock(); ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> iPadOS version - 17.2 IPad 10th gen ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova iOS 6.1.1 macOS, Xcode 15.2 --> ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
