Plugin(s)
Version
7.0.1
Platform(s)
Current behavior
The listeners are updated, but the orientation does not revert to the previous one.
(This behaviour is especially noticable if the user has orientation lock enabled)
Expected behavior
The user has their previous orientation restored after unlock.
Reproduction
https://github.com/capawesome-team/.capacitor-app
Steps to reproduce
- Open app on iPad
- Orientation lock your device to portrait using the UI
- Keep holding your device in portrait mode for the whole experiment
- Use the capacitor ScreenOrientation.lock for landscape, observe that the screen rotates correctly
- Use the capacitor ScreenOrientation.unlock, observe that the screen does not rotate back
Other information
No response
Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.4.3
@capacitor/core: 7.4.3
@capacitor/android: 7.4.3
@capacitor/ios: 7.4.3
Installed Dependencies:
@capacitor/core: 7.0.0
@capacitor/android: 7.0.0
@capacitor/cli: 7.0.0
Before submitting
Plugin(s)
Version
7.0.1
Platform(s)
Current behavior
The listeners are updated, but the orientation does not revert to the previous one.
(This behaviour is especially noticable if the user has orientation lock enabled)
Expected behavior
The user has their previous orientation restored after unlock.
Reproduction
https://github.com/capawesome-team/.capacitor-app
Steps to reproduce
Other information
No response
Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.4.3
@capacitor/core: 7.4.3
@capacitor/android: 7.4.3
@capacitor/ios: 7.4.3
Installed Dependencies:
@capacitor/core: 7.0.0
@capacitor/android: 7.0.0
@capacitor/cli: 7.0.0
Before submitting