Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Latest commit

 

History

History

react-native-v0.71

Capsule React Native v0.71 Example

Getting Started

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

Step 1: Install app dependecies

yarn && yarn pod-install

Step 2: Add your API key

Replace YOUR_API_KEY in ./src/clients/capsule.ts with your valid API key.

Step 3: Start your Application

For Android

yarn android

For iOS

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.

Troubleshooting

If you can't get this to work, see the Troubleshooting page.