android/ios configurations are linked to Firebase. No need to do it.
-
Download or clone this repo.
-
Install dependencies.
npm install
// or
yarn install
- Go to
src/core/config.js
and replaceFIREBASE_CONFIG
with your own firebase config.
export const FIREBASE_CONFIG = {
apiKey: "xxx-yyy-zzz", // etc.
// rest of your firebase config
};
- Run project on iOS / Android.
npm run ios // npm run android
// or
yarn ios // yarn android
- Errors on Mac If you get an Xcode 65 error which is an xcodebuild error do the following to fix:
sudo gem install cocoapods // if you don't have cocoapods installed
cd ios
pod install
delete build folder // this might not be needed, try next step before doing this or if build folder doesn't exist skip this
cd ..
yarn ios // npm run ios
To view the server please visit: https://github.com/FernandoGuardado/StopTheSpreadServer