Vox application is built with Expo and Typescript.
To be able to run the application on iOS and Android:
- install Yarn
- run
yarn installto install the project dependencies
- copy the
.envfile to.env.localand fill in the environment variables - run
yarn prepare:envto generate clientEnv.ts (this shall be done on every .env.local changes). - download the
GoogleService-Info.plistandgoogle-services.jsonfiles from the Firebase console and place them in theconfig/folder - run
yarn run startto start the react-native bundler - run
yarn run iosto start the iOS app - run
yarn run androidto start the Android app - run
yarn run webto start the web app
- versioning structure : ex -> 1.0.0#1 -> appVersion#eas_update_version
- appVersion = runtimeVersion
- eas_update_version = eas_update_version
- bump "eas_update_version" in app.json in extra
- use deploy workflow, select your branch, environement, and EAS deploy type to "update"
- use deploy workflow, select your branch, staging environement, and EAS deploy type to "build"
- bump "version" in app.json
- use deploy workflow, select your branch, productiom environement, and EAS deploy type to "build"
- make a pull request to the
developbranch - make sure to run prettier while developing with
bun prettier-watchor usebun formatto format the code - please avoid to :
- use
anytype - use
console.logfor debugging - use
@ts-ignoreor@ts-nocheckto ignore typescript errors - use
classesas much as possible
- use
To launch with link
adb shell am start -W -a android.intent.action.VIEW -d "exp+vox:///evenements/2025-04-16-ljzbecb" fr.en_marche.jecoute.development
Or using npx react native tools
npx uri-scheme open exp+vox:///evenements/2025-04-16-ljzbecb --android
npx uri-scheme open exp+vox:///evenements/2025-04-16-ljzbecb --ios