- Clone the project:
git clone https://github.com/ivanebernal/demo-services-app.git
- Go to the created folder
cd demo-services-app
- Run
npm install
- Go to the ios directory:
cd ios
- Run
pod install
- Copy
Google-Services.plist
on the/ios/DemoServicesApp
directory - Go to the project root directory and run
react-native run-ios
- Go to the android directory and create a
local.properties
file - On that file, add the following:
ndk.dir=/Users/{your_user}/Library/Android/sdk/ndk-bundle
sdk.dir=/Users/{your_user}/Library/Android/sdk
- Copy
google-services.json
intoandroid/app/
- Run
export PATH=$PATH:~/Library/Android/sdk/platform-tools/
- Run
react-native run-android
from the project root directory