Getting started
Install and run
Install dependencies and run the Starter Kit on iOS or Android.
You need Node 20+, pnpm or npm, Xcode (iOS), and Android Studio (Android). Expo Go is not enough — Firebase, RevenueCat, and OneSignal need a dev client / native build.
1. Install
cd codebasehubv4
cp .env.example .env.local
npm installFill .env.local as you add services. The app boots without every key, but those features stay inactive until the matching env var and flag are set.
2. Native config files
Replace the placeholder Firebase files with your own project:
GoogleService-Info.plist(iOS)google-services.json(Android)
Keep the same filenames and paths. app.json already points at them.
3. Run
# Start Metro
npm start
# First time, or after changing native plugins:
npm run prebuild
npm run ios
npm run androidprebuild regenerates ios/ and android/ from app.json. After that, npm run ios / npm run android build the native app with a dev client.
Useful scripts:
| Script | What it does |
|---|---|
npm start | Metro bundler (expo start --clear) |
npm run ios / android | Native debug build |
npm run prebuild | Clean Expo prebuild |
npm run eas:ios / eas:android | Cloud build |
npm run eas:submit:ios / android | Store submit |
Next: put the project on your GitHub, then rename it.