A little React Native app developed for practice. It can be used to keep track of scoring in a tennis match.
This app is now available on both the App Store and Play Store.
- Install Android Studio
- Open Android Studio
- Click "Configure"
- Click "AVD Manager"
- Click "Create Virtual Device..."
- Pick a phone and click next (I generally use Pixel 4 since it includes the play store)
- Use the system image with release name "R" and API Level >= 30
- Click "Next" and "Finish"
- Start the emulator
- Install xcode
- Open xcode
- Open project (ios folder) in xcode
- Choose a device to test with (Product -> Destination -> Specific Device)
- In the terminal, run
git clone https://github.com/jaaywags/TennisTally.git
- In the terminal, run
cd TennisTally
- In the terminal, run
npm i
- In the terminal, run
npx react-native run-android
The previous command should automaticall install and run the app on the emulator. As you make changes, they should automatically reflect in this emulator as well.
- In the terminal, run
npm i
- In the terminal, run
cd ios
- In the terminal, run
pod install
- In the terminal, run
cd ..
- In the terminal, run
npx react-native run-ios
I wrote these steps from memory. Did not test them. There may be other steps needed.
- Update version in
./package.json
- Put prod keystore file in
./android/app/TennisTally.prod.keystore
- Add credentials to
./android/gradle.properties
- Upgrade
VersionCode
andVersionName
in./android/app/build.gradle
- Add the firebase config file,
android/app/google-services.json
- In the terminal, run
cd android
- In the terminal, run
./gradlew bundleRelease
- Upload
./android/app/build/outputs/bundle/release/app-release.aab
to play store
- Add the firebase config file,
ios/GoogleService-Info.plist
- In the terminal, run
cd ios
- In the terminal, run
pod install
- Update version and build in xcode
- Go to
Product -> Scheme -> Edit Scheme
- Go to the
Run
tab andInfo
tab - Change
Build Configuration
toRelease
- Go to the
Run
tab andArguments
tab - Uncheck the
Arguments Passed On Launch
- Build in xcode
- Archive in xcode
- Go to App Store Connect & Update Version