Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ios): cordova-plugin-screen-orientation not working #4367

Merged
merged 2 commits into from
Mar 19, 2021

Conversation

jcesarmobile
Copy link
Member

@jcesarmobile jcesarmobile commented Mar 18, 2021

cordova-plugin-screen-orientation sets the screen orientation of the view controller but when CAPBridgeViewController was made public the @objc was removed.
Since cordova-plugin-screen-orientation is an Objective-C plugin it can't set the value anymore, so putting the @objc back fixes the problems.

closes #4357

@jcesarmobile jcesarmobile merged commit b893a57 into main Mar 19, 2021
@jcesarmobile jcesarmobile deleted the jcesarmobile-patch-1 branch March 19, 2021 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: CDVOrientation screenOrientation INVALID when trying to set orientation
2 participants