We've built a simple application that demonstrates how LaunchDarkly's SDK works. Below, you'll find the basic build procedure, but for more comprehensive instructions, you can visit your Quickstart page.
- Open the
hello-react-nativedirectory - Copy the mobile key from your account settings page from your LaunchDarkly dashboard into
App.js. - Set flagKey to a valid flag key in your project/environment.
- Run
yarnto install dependencies. - For iOS, set up the native module dependencies by running
npx pod-install.
To run the application use yarn <android|ios>