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
addOrientationChangeListener not working for iPadOS. Working fine for iOS.
In the app.config.ts, I removed the orientation key and setup the plugin according to the documentation and set the screen orientation to "DEFAULT" which is supposed to make the screen unlocked by default but it is not the case so when initialising the app, I have to call the unlockAsync function to make the screen unlocked.
Expo SDK 49
IpadOS and iOS versions: 16.4
Build made EAS build
expo-screen-orientation: 6.0.2
Expected Behaviour: currentOrientation state should update and be consoled log each time the device changes orientation. Works fine on iOS but not in iPadOS.
Thank you for filing this issue!
This comment acknowledges we believe this may be a bug and there’s enough information to investigate it.
However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.
Minimal reproducible example
https://gist.github.com/sbkl/a9efcdca96ce0aa289814ff44fb8fc79
Summary
addOrientationChangeListener not working for iPadOS. Working fine for iOS.
In the app.config.ts, I removed the orientation key and setup the plugin according to the documentation and set the screen orientation to
"DEFAULT"
which is supposed to make the screen unlocked by default but it is not the case so when initialising the app, I have to call theunlockAsync
function to make the screen unlocked.Expo SDK 49
IpadOS and iOS versions: 16.4
Build made EAS build
expo-screen-orientation: 6.0.2
app.config.js
Expected Behaviour:
currentOrientation
state should update and be consoled log each time the device changes orientation. Works fine on iOS but not in iPadOS.Environment
The text was updated successfully, but these errors were encountered: