This is the source code for the React Conf 2024 app. Download it from stores:Google Play,App Store.
To run the app locally, clone the repo and install dependencies withyarn
(yarn.lockwas generated with Yarn v1). Next, eithercompile and run it locallyorbuild and run it with EAS.
To compile the app locally, you will need to have Xcode (learn more) and/or Android (learn more) toolchains installed and configured.
Note
In order to be able to sign the app for an iOS device with a development certificate, you need a unique bundle identifier. Change theAPP_ID_PREFIX
inapp.config.jsto a unique ID, such asyourname.reactconf
.Runnpx expo prebuild --clean
when you've updated the value to sync it to the native project.
#Generate the `android/` directory
npx expo prebuild -p android
#Compile with Gradle
npx expo run:android
#Alternatively, start the dev server and manually open in Android Studio and build
npx expo start
#Generate the `ios/` directory
npx expo prebuild -p ios
#Compile with xcodebuild and run on simulator.
npx expo run:ios
#Alternatively, start the dev server and manually open Xcode and build
npx expo start
For development on the Android Emulator / iOS Simulator:
In order to run a build with EAS, you will need to update the EAS owner and project ID fields inapp.config.js.Change theEAS_APP_OWNER
,EAS_PROJECT_ID
,andEAS_UPDATE_URL
to empty strings, then runeas init
andeas update:configure
to get the new values for your username (never used EAS before?look at this guide).
#Create a development build. When it's completed, you will be prompted to install it
eas build --platform android --profile localdev
#Create a preview build. This is like a production build, but intended to be
#installed directly to your device
eas build --platform android --profile preview
#Create a development build. When it's completed, you will be prompted to install it
eas build --platform ios --profile localdev
#Create a preview build. This is like a production build, but intended to be
#installed directly to your device
eas build --platform ios --profile preview
- Get started with Expo.
- Check out theExpo "Getting Started" tutorial.
- Check out theEAS Tutorialor theEggHead course.