Description
React Native version: 0.60
System:
OS: macOS 10.14.4
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 457.65 MB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.15.1 - /usr/local/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 6.5.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
Android SDK:
API Levels: 23, 26, 27, 28
Build Tools: 26.0.2, 26.0.3, 27.0.0, 27.0.3, 28.0.2, 28.0.3
System Images: android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.3 AI-182.5107.16.33.5264788
Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.3 => 0.60.3
npmGlobalPackages:
react-native-cli: 2.0.1
Steps To Reproduce
- clone https://github.com/ZvonimirStipanovic/iOSLandscapeBug
- do yarn and pod install
- run it on any iPad
- click on any row, it will open browser (google.com)
- click icon in top left corner to go back to app
- it will go to landscape but simulator will stay in portrait
Describe what you expected to happen:
I would expect to stay in portrait
Snack, code example, or link to a repository:
https://github.com/ZvonimirStipanovic/iOSLandscapeBug
Check Gif:
https://media.giphy.com/media/hubFzixCz9gUvNSaNT/giphy.gif