RORK LABJP
TOOLING — Rork's developer repos keep moving: rork-xcode was updated on July 16, rork-device on July 15, and rork-plist on July 13OPUS46 — Claude Opus 4.6 is live in Rork, and Rork Max is built to assemble apps on top of Claude CodeSIM — A cloud iOS simulator runs in the browser, with one click to install on a device and two clicks to publish to the App StoreMAX — Rork Max emits pure Swift rather than React Native, reaching iPhone, iPad, Apple Watch, Apple TV, Vision Pro, and even iMessageNATIVE — That opens up HealthKit, ARKit and LiDAR, NFC, Dynamic Island, Live Activities, 3D through Metal, and on-device inference with Core MLSEED — Rork raised a $15M seed led by Left Lane Capital, with Peak XV and a16z Speedrun joining the roundTOOLING — Rork's developer repos keep moving: rork-xcode was updated on July 16, rork-device on July 15, and rork-plist on July 13OPUS46 — Claude Opus 4.6 is live in Rork, and Rork Max is built to assemble apps on top of Claude CodeSIM — A cloud iOS simulator runs in the browser, with one click to install on a device and two clicks to publish to the App StoreMAX — Rork Max emits pure Swift rather than React Native, reaching iPhone, iPad, Apple Watch, Apple TV, Vision Pro, and even iMessageNATIVE — That opens up HealthKit, ARKit and LiDAR, NFC, Dynamic Island, Live Activities, 3D through Metal, and on-device inference with Core MLSEED — Rork raised a $15M seed led by Left Lane Capital, with Peak XV and a16z Speedrun joining the round
Articles/Dev Tools
Dev Tools/2026-06-12Intermediate

Android 17 Will Ignore Your Portrait Lock — Getting Rork-Built Expo Apps Ready for Large Screens Ahead of Time

Android 17 stops honoring orientation locks and resizability restrictions on large-screen devices. Here is how I assessed the impact on my Rork-built Expo apps, reworked the layouts, and verified everything with nothing but an emulator.

Rork515Expo149Android 17large screensfoldablestabletsReact Native209

Premium Article

Last week I opened one of my own apps inside a resizable emulator running the Android 17 beta, and what I saw made me pause. A screen I had designed strictly for portrait was stretched across a wide landscape window. The letterboxing — those familiar black bars that used to protect a locked layout — was simply gone.

If you run Android apps as an indie developer, chances are you have relied on the same assumption I did: lock the app to portrait and the layout can never break. Starting with Android 17, expected this summer, that assumption stops holding on large-screen devices.

In this article I walk through what I actually did across six of my production apps built with Rork on the Expo (React Native) stack: judging whether an app is affected, unwinding the orientation lock safely, restructuring layouts around size classes, and verifying the whole thing without buying a single foldable.

What Is Changing — the Slow Death of Orientation Restrictions

Let me summarize the change first. Beginning with Android 16, Google started ignoring the following app-declared restrictions on devices whose shorter side is 600dp or more — tablets, unfolded foldables, and desktop windows:

  • Portrait or landscape locks declared via screenOrientation
  • Resize refusal declared via resizableActivity="false"
  • Declared aspect-ratio minimums and maximums

Android 16 still allowed a temporary opt-out through a compatibility property. Android 17 removes that escape hatch, which is why this release is the real deadline. The question is no longer whether to adapt, only when.

Phones (shorter side under 600dp) keep honoring your locks as before. The scope is strictly large screens — but a foldable is a phone when closed and a tablet when opened, so "we never shipped a tablet version" no longer keeps you out of scope.

A 10-Minute Impact Assessment

Before touching any code, estimate how exposed your app is. I checked three things, in this order:

  1. Look at orientation in app.json. Rork-generated Expo projects default to "orientation": "portrait". If yours says portrait or landscape, you are in scope for the ignored-restrictions behavior
  2. Hunt down fixed-size layout code. Any module that evaluates Dimensions.get("window") once at import time will keep returning stale dimensions after a resize. Run grep -rn "Dimensions.get" src/ and review every hit
  3. Check the device breakdown in Google Play Console. Under statistics by device type, see what share tablets and foldables hold. Across my apps it was 4–7% — small, but these users see larger ad surfaces, and in my AdMob reports their eCPM trends higher than on phones, which makes them an expensive segment to abandon

If both items 1 and 2 apply, doing nothing means real users will see the stretched, broken version of your UI. Conversely, if you already ship with orientation: "default" and dimension-driven layouts, this article mostly reduces to the verification routine at the end.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
A 10-minute check to determine whether your portrait-locked app will be force-resized on Android 17
A size-class design and useWindowDimensions-based implementation that survives unlocking orientation
An emulator-only verification routine for foldables and tablets, plus the 4 fixes it surfaced in my own apps
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Dev Tools2026-07-15
The Comma That Fell to the Start of a Line: Rork, Quote Cards, and Japanese Line Breaking
React Native's Text component does not guarantee Japanese line-breaking rules. Here are the violation rates I measured, a WORD JOINER implementation that survives copy and VoiceOver, an onTextLayout audit harness, and how Rork Max (SwiftUI) differs.
Dev Tools2026-07-10
Adding React Compiler to Expo Let Me Delete 41 Hand-Written memo Calls
I enabled React Compiler on Rork-generated React Native screens and measured the rerender counts with Profiler. Here is how I decided which memo and useCallback calls were safe to delete, how to find the components the compiler bailed out on, and how to catch regressions in CI.
Dev Tools2026-07-07
The App Icon Badge Still Says 3 — Rebuilding Expo Badge Counts Around a Single Source of Truth
Why an Expo app's icon badge drifts out of sync with real unread counts and refuses to clear — and how to rebuild it around a single source of truth, with working recompute-and-sync code and the production pitfalls that bite you.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →