You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The example code contains the following:
if (this.platform.is('ios')) {
// On iOS the landscape-primary and landscape-secondary are flipped for some reason
if (orientation.type === 'landscape-primary') {
orientation.type = 'landscape-secondary'
} else if (orientation.type === 'landscape-secondary') {
orientation.type = 'landscape-primary'
}
}
On iOS 18, with the latest version of the Screen Orientation plugin, this no longer appears necessary, and in fact produces upside-down previews.
To Reproduce
Steps to reproduce the behavior:
Run the example code in an app on iOS
Switch to landscape mode.
The screen will double-rotate and appear upside down.
If that code is removed, the orientation is as-expected.
Expected behavior
The screen should not double-rotate.
Screenshots
Desktop (please complete the following information):
OS: [e.g. iOS] MacOS
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Describe the bug
The example code contains the following:
On iOS 18, with the latest version of the Screen Orientation plugin, this no longer appears necessary, and in fact produces upside-down previews.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The screen should not double-rotate.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: