Skip to content

istvan-panczel/react-conf-app-2024

 
 

Repository files navigation

Conference App for React Conf 2024

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.

Compile and run locally

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.

Android

# 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

iOS

# 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:

Build and run with EAS

Initial configuration

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).

Android

# 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

iOS

# 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

Learn more

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.3%
  • JavaScript 2.7%