| 590b6eae | 20-Jul-2023 |
Wojciech Dróżdż <[email protected]> |
[core][ios] Use orientation from Info.plist if no delegates requested a different orientation (#23593)
# Why
ENG-9355, https://github.com/expo/expo/issues/23582
In a bare project without `scree
[core][ios] Use orientation from Info.plist if no delegates requested a different orientation (#23593)
# Why
ENG-9355, https://github.com/expo/expo/issues/23582
In a bare project without `screen-orientation` installed the allowed
orientation values set in Info.plist were ignored. This means that it
wasn't possible to set app's orientation without using
`expo-screen-orientation`.
# How
In `ExpoAppDelegate` `application(...,
supportedInterfaceOrientationsFor: ...)` will now return the values from
`Info.plist` unless a subscriber has set a different orientation.
# Test Plan
Tested in a bare project without screen-orientation installed and in
Bare Expo
---------
Co-authored-by: Expo Bot <[email protected]>
show more ...
|