yarn setup to use real services - no code changes needed.
How It Works
Placeholder values like
your-ios-key from .env.example will also trigger mock mode. This prevents SDK credential errors - you can safely copy .env.example to .env and the app will work in mock mode.Available Mocks
Backend Mocks
- Supabase
- Convex
Other Service Mocks
RevenueCat
PostHog
Events logged to console with[MockPostHog] prefix. Feature flags return false by default.
Sentry
Errors logged to console with[MockSentry] prefix instead of being sent to Sentry.
Console Logging
All mock operations log to console:Limitations
- Data clears on app restart
- Security policies (RLS, function auth) not enforced
- Network performance not simulated
- Realtime subscriptions simulated locally
yarn setup.
Switching to Real Services
apps/app/.env:
- Supabase
- Convex
yarn start --clear
