After you created your application, it is time to install the SDK.
There are two steps in the SDK install:
- Add Rollout SDK to your project.
- Initialize Rollout SDK when the app starts.
The first step is to add the Rollout React Native library to your project.
Run the following npm command:
npm i rox-react-native --save
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.
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.