This app utilizes the React Native CLI
instead of the Expo CLI
as earlier done. Before you begin, make sure you setup your environment as outlined here https://reactnative.dev/docs/environment-setup. Ensure you have installed as indicated by the docs:
- JDK
- Android Studio
- Android SDK + Android Virtual Devoce
- XCode
- Cocoapods
- Watchman
- Clone the project on your machine
git clone https://github.com/Healert/healert-app.git
- Install dependencies by running
yarn
- Setup firebase config:
- Android - include the
google-services.json
underandroid/app
for firebase auth - For IoS, using xcode, open the
ios
folder and right click thehealert
folder, click add files and addGoogleService-info.plist
, ensure the copy files if needed checkbox is checked. Then addGoogleService-info.plist
under the Build Phases tab in the Compile Sources section as shown in the image below. Then runcd ios && pod install && cd ..
- Android - include the
- Run:
- Android:
yarn run:android
- IoS:
yarn run:ios
- Android: