Setup & Installation
Prerequisites
- Node.js 18+
- Use a Physical Device for testing Camera streams (Simulators struggle with WebRTC/video).
- Install Expo Go app from App Store / Play Store.
Quickstart
1. Install Dependencies
cd apps/mobile
npm install
2. Configure Environment
Create a .env file pointing to your backend (use your computer's local LAN IP, e.g. 192.168.1.50, not localhost, so the phone can reach it).
EXPO_PUBLIC_API_URL=http://192.168.1.50:3333
EXPO_PUBLIC_WS_URL=http://192.168.1.50:3333
3. Run the App
npx expo start
Scan the QR code with your phone.
Troubleshooting
"Network Error" on Phone
- Ensure Phone and Laptop are on the Same Wi-Fi.
- Check firewall settings on Laptop allowing port 3333/8081.