- Documentation

Installing the Rollout React Native SDK

The next step after creating your application is to install the SDK. The following are the steps for installing the SDK:

1. Add the Rollout SDK to your project

To add the Rollout React Native library to your project, run the following npm command:

npm i rox-react-native --save

2. Initialize the Rollout SDK when the app starts

You will need your Rollout app key. This key is unique to your application and can be found in the Installation Instructions dialog or in the App Settings tab. To initialize the Rollout SDK, add the following line of code:

await Rox.setup('<the app key goes here>');

That's it! Now your app is ready to use Rollout.

And with that, it's time to create a Rollout feature flag.

Installing the Rollout React Native SDK

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.