You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[@launchdarkly/js-server-sdk-common-edge](packages/shared/sdk-server-edge/README.md)|[![NPM][js-server-sdk-common-edge-badge]][js-server-sdk-common-edge-link]|[Common Server Edge][package-shared-sdk-server-edge-issues]|[![Actions Status][shared-sdk-server-edge-ci-badge]][shared-sdk-server-edge-ci]|
21
23
@@ -74,6 +76,12 @@ We encourage pull requests and other contributions from the community. Check out
> UNSUPPORTED This SDK is in pre-release development and is not supported.
9
+
The LaunchDarkly React Native SDK is designed primarily for use in mobile environments. It follows the client-side
10
+
LaunchDarkly model for multi-user contexts.
11
11
12
-
The LaunchDarkly React Native SDK is designed primarily for use in mobile environments. It follows the client-side LaunchDarkly model for multi-user contexts.
13
-
14
-
This SDK is a replacement of [launchdarkly-react-native-client-sdk](https://github.com/launchdarkly/react-native-client-sdk). Please consider updating your application to use this package instead.
12
+
This SDK is a complete rewrite of the React Native SDK and replaces [launchdarkly-react-native-client-sdk](https://github.com/launchdarkly/react-native-client-sdk). The
13
+
APIs are based on the JS SDK rather than the iOS and Android SDKs. It is not a wrapper of the iOS and Android SDKs.
14
+
It is implemented purely in JS and supports Expo. Please consider updating your application to use this package instead.
15
15
16
16
For more information, see the [complete reference guide for this SDK](https://docs.launchdarkly.com/sdk/client-side/react-native).
17
17
18
-
This library is an alpha version and should not be considered ready for production use while this message is visible.
19
-
20
18
## Install
21
19
22
20
```shell
@@ -35,21 +33,27 @@ and re-run pod install for [auto-linking to work](https://github.com/react-nativ
35
33
36
34
## Quickstart
37
35
38
-
1. Wrap your application with `LDProvider`passing it an LDClient and
39
-
an LDContext:
36
+
1. Wrap your application with `LDProvider`and set the `client` prop to an instance of `ReactNativeLDClient`. Call
37
+
`identify` at a later time to get flags. In the example below, `identify` is called on App mount:
0 commit comments