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 with yarn
(yarn.lock was generated with Yarn v1). Next, either compile and run it locally or build 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 the APP_ID_PREFIX
in app.config.js to a unique ID, such as yourname.reactconf
. Run npx 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 in app.config.js. Change the EAS_APP_OWNER
, EAS_PROJECT_ID
, and EAS_UPDATE_URL
to empty strings, then run eas init
and eas 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 the Expo "Getting Started" tutorial.
- Check out the EAS Tutorial or the EggHead course.