Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.
Note: If using NVM (or another version manager for Node), please refer to this step for properly configuring your Xcode environment
yarn && yarn pod-install
Replace YOUR_API_KEY
in ./src/clients/capsule.ts
with your valid API key.
yarn android
yarn ios
If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.
This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.
If you can't get this to work, see the Troubleshooting page.