This repository contains a React Native application that runs on mobile and desktop. The desktop build uses Electron and the same React Native codebase compiled for the web.
src/
– shared React Native components, contexts and screens.electron/
– minimal Electron wrapper that loads the exported web build.
- Install dependencies:
npm install
- Start the development server:
Use
npm start
npm run android
ornpm run ios
to open the app on a simulator or device.
- Build the web version and launch Electron:
During development you can run the web server with
npm run electron
npm start
and launch Electron with:ELECTRON_DEV=true electron electron