RORK LABJP
SDK57 — Expo SDK 57 landed, moving React Native from 0.85 to 0.86 while React stays at 19.2, and it is meant to ship no breaking changesCADENCE — The release hints at a new cadence: small, non-breaking upgrades slotted between the larger SDK releases, which makes keeping up easier to planRN086 — React Native 0.86 highlights include edge-to-edge fixes on Android, light and dark mode emulation in React Native DevTools, and rendering, layout, and animation fixesPREBUILD — expo prebuild improved how it clears and regenerates native directories, and expo-dev-client picked up iOS enhancementsIOS27 — iOS 27 reached beta 4 on July 20 and opened to public beta testers on July 22, so it is time to check generated apps ahead of the autumn releaseAND17 — Starting with Android 17, traditional Developer Previews are gone, replaced by continuously updated Canary buildsSDK57 — Expo SDK 57 landed, moving React Native from 0.85 to 0.86 while React stays at 19.2, and it is meant to ship no breaking changesCADENCE — The release hints at a new cadence: small, non-breaking upgrades slotted between the larger SDK releases, which makes keeping up easier to planRN086 — React Native 0.86 highlights include edge-to-edge fixes on Android, light and dark mode emulation in React Native DevTools, and rendering, layout, and animation fixesPREBUILD — expo prebuild improved how it clears and regenerates native directories, and expo-dev-client picked up iOS enhancementsIOS27 — iOS 27 reached beta 4 on July 20 and opened to public beta testers on July 22, so it is time to check generated apps ahead of the autumn releaseAND17 — Starting with Android 17, traditional Developer Previews are gone, replaced by continuously updated Canary builds
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.

Rork522Expo152Android 17large screensfoldablestabletsReact Native214

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-28
Counting what prebuild --clean will erase before you upgrade to Expo SDK 57
A raw diff between two generated ios/ trees showed 649 changed lines; only 3 were real edits. How to count what prebuild --clean erases, and move it into a config plugin.
Dev Tools2026-07-27
When to Raise Your Minimum iOS Version — Count Leftover Branches, Not User Percentages
Judging a minimum OS bump by usage share produces the same answer every year, so the decision never happens. Here is the annotation convention, the sweep script that counts how many branches each candidate floor would retire, and what to watch for 30 days after.
Dev Tools2026-07-26
What Filtering Out Prerelease OS Devices Cost Me — Separating Telemetry Tracks Instead of Dropping Them
Filtering prerelease OS devices out of telemetry left me with no warning signs on GA day. Here is the rebuild: an os_track dimension, a remote GA baseline, split alert thresholds, and a release gate that separates blockers from fixes.
📚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 →