◉RORK LABJP
●GPT-6.1 SOL — Added to Rork's model menu (09-29) with Low, Medium and High effort; included on Pro and Max●SONNET 5.5 — Claude Sonnet 5.5 is selectable: strong at UI design and faster than Sonnet 5 (09-28)●SDK 58 — Beta since 09/15 with no stable date yet; running projects in Expo Go has required login since 09/03●WIDGET — A write-up traces an iOS widget that renders black only in production builds●OBSERVE — EAS Observe now records native crashes too (SDK 57.0.21 or later, 10/07)●NEW — My App Open Ad Only Showed When the App…●GPT-6.1 SOL — Added to Rork's model menu (09-29) with Low, Medium and High effort; included on Pro and Max●SONNET 5.5 — Claude Sonnet 5.5 is selectable: strong at UI design and faster than Sonnet 5 (09-28)●SDK 58 — Beta since 09/15 with no stable date yet; running projects in Expo Go has required login since 09/03●WIDGET — A write-up traces an iOS widget that renders black only in production builds●OBSERVE — EAS Observe now records native crashes too (SDK 57.0.21 or later, 10/07)●NEW — My App Open Ad Only Showed When the App…
Articles/Dev Tools
⬡ Dev Tools/2026-04-07Advanced

Rork Max × Expo Router Web: Deploy iOS, Android & Web from a Single Codebase

A complete guide to adding web support to your Rork Max app using Expo Router v5. Covers platform-specific UI branching, SEO meta tags, Cloudflare Pages deployment, and a unified CI/CD pipeline for iOS, Android, and Web.

Rork Max236Expo Router6cross-platform6React Native Webweb supportSEOCloudflare Pages

✦ Premium Article

"We have an iOS and Android app — can we also ship a web version?" It's a common question, and the traditional answer involves maintaining a separate Next.js or Remix codebase, doubling or tripling your maintenance burden every time you add a feature.

Expo Router v5's web support changes this equation significantly. Your Rork Max–generated React Native app can be compiled for the browser with minimal additional code. This guide covers everything from the initial setup to SEO optimization, Cloudflare Pages deployment, and a unified CI/CD pipeline that ships all three platforms on every commit.

How Expo Router Web Works

Expo Router is a file-system routing library built on React Navigation. Under the hood, web builds use react-native-web to map React Native primitives to DOM elements: <View> becomes <div>, <Text> becomes <span>, and so on.

Your app/ directory structure becomes your URL structure:

app/
  ├── (tabs)/
  │   ├── _layout.tsx      ← Tab navigation
  │   ├── index.tsx        ← Route: /
  │   ├── explore.tsx      ← Route: /explore
  │   └── settings.tsx     ← Route: /settings
  ├── articles/
  │   ├── [id].tsx         ← Route: /articles/:id
  │   └── index.tsx        ← Route: /articles
  └── _layout.tsx          ← Root layout

Setting Up Web Support

Configuring app.json

{
  "expo": {
    "name": "MyApp",
    "slug": "my-app",
    "platforms": ["ios", "android", "web"],
    "web": {
      "bundler": "metro",
      "output": "static",
      "favicon": "./assets/favicon.png"
    },
    "experiments": {
      "typedRoutes": true
    }
  }
}

Use "output": "static" to generate static HTML files at build time — better for SEO and CDN caching than server-rendered output.

Installing Dependencies

npx expo install react-native-web react-dom @expo/metro-runtime

Running the Web Build

# Development — opens in browser alongside the simulator
npx expo start --web
 
# Production static build
npx expo export --platform web
# Output: dist/ directory with HTML, JS, and CSS files
✦

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
✦Configure Expo Router v5 web support to manage iOS, Android, and Web from a single codebase
✦Platform branching with Platform.select and .web.tsx file extensions for platform-specific UI
✦Deploy to Cloudflare Pages with automatic SSL, custom domains, and a unified GitHub Actions CI/CD pipeline
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-18
The Generated Screen That Quietly Jams at AX5 and in German — Putting Layout Resilience Checks on Rork Max SwiftUI
A record of running every Rork Max generated SwiftUI screen through pseudolocalization and the largest text size to find exactly where it jams. Covers when to reach for ViewThatFits, ScaledMetric and layoutPriority, plus the snapshot checks that catch regressions every time you regenerate.
⬡ Dev Tools2026-05-17
Testing Rork Max SwiftUI Features on a Real Wallpaper App — What Worked, What Needed Fixes
I benchmarked Rork Max's SwiftUI generation against the production code of a wallpaper app I actually run. Here is what shipped as-is, what needed fixing, and what I ended up writing by hand — with working code and on-device measurements.
⬡ Dev Tools2026-05-16
Migrating Firebase CocoaPods to SPM in Rork Max Apps
Firebase Apple SDK's CocoaPods distribution ends in October 2026. Here's a detailed migration log from moving 4 Rork Max iOS apps to Swift Package Manager — including dSYM failures, module errors, and the Dropbox conflict copy problem you'll definitely hit.