https://github.com/launchdarkly/hello-react-native
Hello LaunchDarkly for React Native
https://github.com/launchdarkly/hello-react-native
examples feature-flags feature-toggles launchdarkly react-native sdk-examples
Last synced: 2 days ago
JSON representation
Hello LaunchDarkly for React Native
- Host: GitHub
- URL: https://github.com/launchdarkly/hello-react-native
- Owner: launchdarkly
- Created: 2019-02-28T19:52:09.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-17T02:52:13.000Z (almost 2 years ago)
- Last Synced: 2025-05-23T12:42:22.973Z (about 1 year ago)
- Topics: examples, feature-flags, feature-toggles, launchdarkly, react-native, sdk-examples
- Language: Java
- Size: 57.9 MB
- Stars: 4
- Watchers: 6
- Forks: 21
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# This example is deprecated
This repository contains an example for the `launchdarkly-react-native-client` SDK, which has been replaced by the `@launchdarkly/react-native-client` SDK.
For examples using the `@launchdarkly/react-native-client` version of the SDK please refer to the react-native SDK in the (js-core repository)[https://github.com/launchdarkly/js-core].
# LaunchDarkly Sample React Native Application
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](https://app.launchdarkly.com/quickstart#/).
## Build instructions
1. Open the `hello-react-native` directory
2. Copy the mobile key from your account settings page from your LaunchDarkly dashboard into `App.js`.
3. Set flagKey to a valid flag key in your project/environment.
4. Run `yarn` to install dependencies.
5. For iOS, set up the native module dependencies by running `npx pod-install`.
## Running
To run the application use `yarn `