This repo combines Expo (React Native) for Android, iOS, and Web with Tauri for Desktop (Windows, macOS, Linux). It lets you share code and UI across all platforms, with Tauri wrapping the Expo web build for desktop apps.
expo-app/
— Your Expo project (React Native code, assets, components)src-tauri/
— Tauri Rust backend and configpublic/
— Static assets for web/desktoppackage.json
— Scripts for dev/build
npm run dev
— Starts Expo web, Tauri desktop, and injects Tauri bridge for desktop API access (requires concurrently)- Expo web: hot reload for web/mobile
- Tauri: wraps the web build for desktop
npm run build
— Builds Expo web, injects Tauri bridge, then builds Tauri desktop app
cd expo-app && npx expo start
— Start Expo for Android/iOS/Web
npm run dev:tauri
— Start Tauri desktop app (wraps Expo web build)
- Shared UI and logic for all platforms
- Tauri API access in desktop via runtime bridge
- If desktop links don't open, check tauri-plugin-opener setup and permissions
- If Tauri APIs aren't available, ensure the runtime bridge script is injected into
index.html
after Expo build
Enjoy building cross-platform apps with Expo + Tauri!