DavidWiesner opened a new issue, #140: URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/140
# Bug Report ## Problem when running this plugin with corodva ios 8 nothing will happen when calling lock. It will resolve with but with CDVCommandStatus_INVALID_ACTION ### What is expected to happen? plugin should also lock the orientation in newer cordova-ios ### What does actually happen? Can still change orientation. ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> cordova-ios has removed the property supportedOrientations in this commit: https://github.com/apache/cordova-ios/commit/c6fd16f7eaa0cf368076ca0a02c7899e93cec15c#diff-41cd83cdfd0f80ba61d4f8577f2ff8bbf699bac3dc164f4b39e4510673dec4b0L58-R87 ### Command or Code <!-- What command or code is needed to reproduce the problem? --> ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> ios 18.2.1 iphone 16 ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Ionic: Ionic CLI : 7.1.1 (/opt/homebrew/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 8.8.4 @angular-devkit/build-angular : 20.3.25 @angular-devkit/schematics : 20.3.25 @angular/cli : 20.3.25 @ionic/angular-toolkit : 12.3.0 Cordova: Cordova CLI : 12.0.0 ([email protected]) Cordova Platforms : ios 8.0.1 System: ios-deploy : 1.10.0 NodeJS : v25.9.0 OS : macOS Unknown Xcode : Xcode 26.4.1 Build version 17E202 ## 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]
