Yes, you can test landscape view in an Expo app. Expo runs on top of React Native, and React Native exposes landscape orientation through the same mechanisms it always has: the app's native orientation configuration, the Dimensions API, and the imperative ScreenOrientation module (or the expo-screen-orientation package). What trips people up is that "testing landscape" means different things on different platforms and in different build environments. A simulator, an Android emulator, a physical device, and Expo Go behave differently, and an app can render a landscape layout while still being locked to portrait, which is not the same thing as genuinely supporting landscape.
This article sorts out those distinctions, shows concrete ways to verify that landscape actually works, and explains the configuration you need on iOS and Android so that your test reflects reality rather than the quirk of one tool.
The core question: what does "testing landscape" actually mean?
There are at least four distinct things a developer might want to verify, and they require different approaches:
1: Does the layout adapt when the device is rotated? This is about responsive design — flexbox, safe areas, useWindowDimensions(), and so on. 2: Does the app permit landscape orientation at all? This is controlled by native configuration (iOS Info.plist / UISupportedInterfaceOrientations, Android android:screenOrientation), not by your React code. 3: Can the app programmatically force or lock orientation? This uses the ScreenOrientation APIs. 4: Does it behave the same in Expo Go, development builds, and production builds? It often doesn't, especially because configuration changes require a rebuild.
You can test (1) almost anywhere, including Expo Go. Testing (2) and (4) properly requires a development build or a real build with your native configuration applied, because Expo Go ships with its own fixed native settings that your app.json orientation values may not fully control. That distinction is the single most important thing to understand before you trust a landscape test.
Testing layout responsiveness without worrying about orientation locks
If your goal is simply to see how your UI looks in a wide viewport, you don't need a physical rotation at all. In the iOS Simulator, press Cmd+← (left arrow) to rotate left and Cmd+→ to rotate right; Cmd+↑ returns to portrait. On Android, the emulator has rotation buttons in the side toolbar, or you can press Ctrl+← / Ctrl+→ on many setups. These shortcuts rotate the device frame and deliver new dimension values to your app.
Inside your code, the reliable signal is Dimensions or, better, the useWindowDimensions() hook, which re-renders automatically when the window size changes:
If rotating the simulator flips that text from "Portrait" to "Landscape," your layout logic is being exercised. This works in Expo Go and in any build, because it relies only on React Native's dimension updates. What it does not prove is that a rotated physical phone will actually rotate your app in production; that depends on the native orientation lock described next.
Why Expo Go can give you a misleading result
Expo Go is a single, prebuilt native container. It is configured with certain default orientation behavior, and your project's orientation field in app.json does not recompile Expo Go. So if you set "orientation": "portrait" and then rotate the device in Expo Go, you may still see the app rotate — because Expo Go's own native settings allow it — or conversely, you may be unable to get landscape at all in some configurations. Either outcome tells you something about Expo Go, not necessarily about your shipped app.
The practical rule: test orientation configuration in a development build or a production build, not in Expo Go. A development build (npx expo run:ios, npx expo run:android, or an EAS development build) compiles your app.json / app.config.js orientation settings into the native project. That is when a landscape test becomes trustworthy.
Configuring orientation in app.json
Expo's orientation field accepts "default", "portrait", and "landscape". The value "default" means the app follows the device and allows rotation (subject to platform limits); "portrait" and "landscape" lock the app to that orientation.
If you want only landscape, set "orientation": "landscape". For most apps that need to support both, "default" is the right choice, and then you handle the layout responsively. Setting a fixed orientation is a deliberate UX decision; for games, media players, or camera screens it can be correct, but for general apps a hard lock is usually a mistake because it fights the user's device setting.
Note the terminology: "default" is Expo's way of saying "let the OS decide based on the device and any additional native config." It is not the same as null or omitted, and the exact behavior on iPad — where iPadOS historically allowed more orientations and, on newer versions, supports resizable windows — can differ from iPhone. If you rely on tablet landscape, test on an actual iPad or an iPad simulator, not just an iPhone simulator.
The ScreenOrientation APIs and what they add
Expo provides expo-screen-orientation, which lets you read and lock orientation at runtime. This is useful when you want a specific screen (say, a video player) to force landscape while the rest of the app stays portrait.
The important caveat is that lockAsync and related methods can only constrain orientation within the set the native app already permits. If your app.json says "portrait", calling lockAsync(LANDSCAPE) will not magically allow landscape — the native configuration is the outer boundary. So programmatic locking is a refinement of your configuration, not a replacement for it. This is another reason a test in Expo Go (with its own native bounds) can mislead you.
There is also a subtle platform difference worth knowing. On Android, orientation changes can trigger activity recreation unless you configure android:configChanges; React Native and Expo generally handle this, but custom native modules or third-party libraries that assume a fixed orientation can break when rotation happens. On iOS, UIViewController-based orientation support and the supportedInterfaceOrientations values in Info.plist govern the result. If a screen refuses to rotate on iOS despite "default" in app.json, the cause is usually a mismatch between the native plist values and what a library or a custom view controller is declaring.
A reliable testing workflow
To test landscape view on Expo in a way you can trust, follow this sequence:
1: Set the orientation you intend in app.json ("default" for a rotatable app, or a fixed value if you truly want a lock). 2: Build a development client with npx expo run:ios / npx expo run:android, or an EAS development build. This compiles your config natively. Do not rely on Expo Go for orientation configuration tests. 3: Rotate via simulator shortcuts or the emulator toolbar, and confirm useWindowDimensions() reports width > height. 4: Check safe areas. In landscape on a notched iPhone, the notch is on the side; in portrait it is on top. Use react-native-safe-area-context and observe whether content is clipped or centered incorrectly. 5: Test the specific screens that matter, not just the home screen. A modal, a video player with a forced lock, and a form with a keyboard open all behave differently in landscape. 6: Repeat on a physical device. Simulators are convenient, but real hardware exposes rotation-lock settings (users can disable auto-rotate), gesture quirks, and performance issues that emulators hide. On Android specifically, a user's system-level auto-rotate toggle affects whether your "default" app rotates at all.
If you need to automate checks, you can use the orientation APIs in tests with Detox or in end-to-end setups that call the native rotation commands. But for most teams, a short manual pass across the screens above catches nearly everything.
Common pitfalls that make landscape tests fail
A handful of issues account for most "landscape doesn't work in Expo" reports:
Testing in Expo Go and expecting app.json changes to apply. They often don't, because Expo Go is prebuilt. Build a dev client. Forgetting a rebuild after changing orientation. Native config changes require recompiling; a JavaScript reload alone will not apply them. Locking the wrong layer. Setting "portrait" in config and then trying to force landscape from JS — the config wins. Ignoring the Android auto-rotate setting. If the user has auto-rotate off, "default" may keep the app in portrait on Android regardless of device rotation. You can detect and respond, but you cannot override the user's system preference without intrusive hacks. Assuming iPad behaves like iPhone. iPadOS supports more orientations and, on recent versions, window resizing. A layout that looks fine on an iPhone in landscape may stretch oddly on an iPad. Hard-coding dimensions. Using Dimensions.get('window') once at startup and storing it means your layout will not update on rotation. Prefer useWindowDimensions() or subscribe to dimension change events. Mishandling status bar and insets. In landscape, the status bar position and safe-area insets change; fixed padding tuned for portrait will look wrong.
So, what is the short answer?
You can absolutely test landscape view in Expo. If you only need to check responsive layout, rotating the simulator and observing useWindowDimensions() is sufficient and works in Expo Go. If you need to verify that your app actually supports landscape in production — that the native configuration, the screen-orientation APIs, and the platform behavior all line up — use a development or production build and test on both a simulator and a real device, paying attention to the iOS plist values and the Android auto-rotate setting. The one thing to avoid is trusting Expo Go for orientation configuration, because it carries its own native defaults that your project settings do not change. Treat responsive layout testing and orientation configuration testing as two separate tasks, and you will get reliable answers from both.