◉RORK LABJP
●SUBDOMAIN — Rork can now connect your web app to a subdomain only, leaving your root domain and www untouched (12/1)●UPDATES — expo-updates 58.0.23 fixes Android release builds embedding a stale runtime version●FLASH END — Intro pricing for Gemini Flash models ends 12/31, 29 days from now. Time to recheck AI feature costs●HMR — Some report the dev server picking up another server's bundle and then exiting●FIRST VIEW — Map the first screen for a normal launch, a notification, and a link, and back navigation stops surprising you●CARBON — Gemini 4 Carbon and Argon are now at standard rates: $4.00 input, $20.00 output per 1M tokens●SUBDOMAIN — Rork can now connect your web app to a subdomain only, leaving your root domain and www untouched (12/1)●UPDATES — expo-updates 58.0.23 fixes Android release builds embedding a stale runtime version●FLASH END — Intro pricing for Gemini Flash models ends 12/31, 29 days from now. Time to recheck AI feature costs●HMR — Some report the dev server picking up another server's bundle and then exiting●FIRST VIEW — Map the first screen for a normal launch, a notification, and a link, and back navigation stops surprising you●CARBON — Gemini 4 Carbon and Argon are now at standard rates: $4.00 input, $20.00 output per 1M tokens
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 Router8cross-platform5React 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-10-25
Fullscreen Ads Stopped Showing After Going Back and Forth Between Screens — The Ad Holder Was Still Holding a Closed Screen
Fullscreen ads vanished after reopening a screen because a reused ad holder kept notifying a closed screen. A holder that swaps only its listener target, tested in Node.
⬡ 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
Reading Rork Max's SwiftUI Generation Through a Wallpaper App's Requirements — What to Trust, What to Fix, What to Write by Hand
Typical wallpaper-app requirements — grid, pinch-zoom, slideshow, photo-library permission, ads, in-app purchase — handed to Rork Max's SwiftUI generation: where the output tends to hold up and where it tends to break. For the memory failure that bites first, this note includes decode-time downsampling, a bounded cache, and a procedure for measuring on your own device.