We are looking in to also supporting react-native with this SDK. Reach out if you want to help us validate the implementation.
Step 1: Install
Step 2: Initialize the SDK
You need to have a Unleash-hosted instance, and the proxy need to be enabled. In addition you will need a proxy-specific clientKey in order to connect to the Unleash-hosted Proxy.
Step 3: Check if feature toggle is enabled
...or get toggle variant:
Listen for updates via the EventEmitter
The client is also an event emitter. This means that your code can subscribe to updates from the client. This is a neat way to update a single page app when toggle state updates.