Make sure you have NodeJS installed
In the root run npm install
and yarn install
Create a local.properties
in the root/android
directory.
Add the line: sdk.dir = PATH_TO_ANDROID_SDK
- I copied/pasted from Android Studio sdk path.
I created a debug.keystore
file and still got errors. This link has an answer to download the Facebook default file and you can add that to android/app
To build and run, use the command yarn android
In the terminal, navigate to the ios
directory. Then run the command pod install
. This will install the dependencies in the iOS project.
To build and run, use the command yarn ios
yarn web
and this should run in Chrome.
When making changes in your project you will not need to re-build the app every time. If you already have the app installed on a simulator/device, you can use the command yarn start
this will run and instance of Metro Bundler and will not re-build the app on the device.
Note: Changes like .env
and adding npm modules will require the use of yarn ios
and yarn android
to build those changes.