
Screenshot final result of PlusOne app.
Prerequisites
- LaunchDarkly account. Sign up for a free one here.
- Visual Studio or another code editor of choice.
Setting up your environment
Before running a React Native app, make sure your development environment is set up correctly. You can find the full setup instructions for both Android and iOS here. In this tutorial, we’ll be running iOS, but keep in mind Expo Orbit, the platform we’ll be using to run our iOS simulator, requires both Xcode and Android Studio to be installed. After going through the instructions you should have the following installed:- Node JS (preferably via nvm)
- Watchman for file monitoring
- JDK via Zulu package manager.
- Android Studio. Don’t forget to set your Android_Home environment variables.
- Xcode for the iOS simulator.
- CocoaPods for iOS dependency management.
- Expo orbit for running expo apps Android or iOS.
Android vars
Starting up the PlusOne app
To get started, let’s clone the repo for the PlusOne app and runnpm install to ensure the proper dependencies are present in our node_modules file.
Cloning repo
Install using npm
Prebuild for iOS
Run expo app
Install using npm

Final result of PlusOne app.
Install using npm
_layout file. Replace the in the layout file by pasting the following code.
- Defined the user context.
- Lastly, you initialized the client.

Screenshot of Sign in page.

Screenshot of landing page after sign in.

Screenshot of Project page.

Screenshot of New project widget page.

Screenshot of page to create new environment.

Screenshot of steps to copy mobile key
Logs

Screenshot of final logs page.
Traces

Screenshot of final traces page.
Errors

Screenshot of final errors page.