A React Native (Expo) app with Google Sign-In, built with Redux and Redux Saga.
Install Homebrew if you don't have it, then install the required tooling:
brew install node watchman
brew install --cask android-studioXcode must be installed from the Mac App Store (required for iOS builds).
- Open Xcode at least once and install the iOS simulator runtime when prompted.
- Go to Xcode > Settings > Locations and select a version in the Command Line Tools dropdown.
- Verify CocoaPods is available with
pod --version. If missing:brew install cocoapods
- Open Android Studio and complete the initial setup wizard.
- In Settings > Languages & Frameworks > Android SDK:
- SDK Platforms tab -- check Android 15 (VanillaIceCream) (or the latest).
- SDK Tools tab -- check Android SDK Build-Tools, Android SDK Command-line Tools, and Android Emulator.
- Add the following to
~/.zshrc:Then runexport ANDROID_HOME=$HOME/Library/Android/sdk export PATH=$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools:$PATH
source ~/.zshrc. - In Android Studio, open Virtual Device Manager and create a device (e.g. Pixel 8 with a recent system image).
# Install dependencies
npm install
# Generate native projects
npx expo prebuild --clean
# Install iOS pods
cd ios && pod install && cd ..npx expo run:iosStart your emulator first, then:
npx expo run:android