RORK LABJP
SDK58 — The Expo SDK 58 beta is open. It ships the React Native 0.88 release candidate, and the beta period is stated as three to four weeks11/01 — For anyone who requested an extension, Google Play's target API deadline lands on November 1. Forty-four days outEASENV — A long-open report: secrets handed to a local build arrive as the literal variable name rather than its value, and the damage surfaces much laterNEW — The replacement the table recommended had already shut down. A record of reconciling all 74 rows of the deprecation listUISCENE — iOS 27 requires the new scene lifecycle. SDK 57 makes it something you opt into; it only becomes the default in 58CREDIT — What "AI errors don't cost credits" actually covers becomes clear once you record a day of asking for the same fix more than onceSDK58 — The Expo SDK 58 beta is open. It ships the React Native 0.88 release candidate, and the beta period is stated as three to four weeks11/01 — For anyone who requested an extension, Google Play's target API deadline lands on November 1. Forty-four days outEASENV — A long-open report: secrets handed to a local build arrive as the literal variable name rather than its value, and the damage surfaces much laterNEW — The replacement the table recommended had already shut down. A record of reconciling all 74 rows of the deprecation listUISCENE — iOS 27 requires the new scene lifecycle. SDK 57 makes it something you opt into; it only becomes the default in 58CREDIT — What "AI errors don't cost credits" actually covers becomes clear once you record a day of asking for the same fix more than once
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.

Rork568Expo209Android 17large screensfoldablestabletsReact Native238

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 $15 for lifetime access
View Membership →

Related Articles

Dev Tools2026-09-04
EAS secret visibility does not keep a value out of your app — deciding prefix and visibility separately
The EXPO_PUBLIC_ prefix decides what ships inside your app; EAS visibility decides who can read it. Why stacking them blanks a value on OTA updates, and how to check your build.
Dev Tools2026-08-22
Every bulk replace exited zero. The damage was in the lines I did not delete
Run a bulk replace over generated code and the breakage lands on the neighbouring lines, not the matched ones. Here is what broke in a live project, and a dependency-free guard that checks the invariants a replace must preserve.
Dev Tools2026-07-30
What Renovate may bump in an Expo app, and what it must never touch
Turning on automated dependency updates in a Rork-generated app also hands Renovate the 123 packages Expo SDK 57 pins. Measured on 2026-07-30, six of them sit a full major version behind npm latest. Here is how to generate the ignore list from the SDK instead of maintaining it by hand.
📚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