rox-react-native
Advanced tools
Comparing version 1.2.9 to 1.2.10
{ | ||
"name": "rox-react-native", | ||
"version": "1.2.9", | ||
"version": "1.2.10", | ||
"description": "Rollout.io ROX JS SDK Client", | ||
@@ -5,0 +5,0 @@ "author": "Rollout.io <support@rollout.io>", |
@@ -15,5 +15,5 @@ ![Rollout](https://1ko9923xosh2dsbjsxpwqp45-wpengine.netdna-ssl.com/wp-content/themes/rollout/images/rollout_white_logo1.png) | ||
# Rollout Client JavaScript SDK 🦆 | ||
# Rollout Client React Native SDK 🦆 | ||
[Rollout](https://rollout.io) client JavaScript SDK for web applications. Define and use simple and advanced feature flags, remote configuration variables, static and computed custom properties in code. Control your application features via Rollout's dashboard. | ||
[Rollout](https://rollout.io) client React Native SDK. Define and use simple and advanced feature flags, remote configuration variables, static and computed custom properties in code. Control your application features via Rollout's dashboard. | ||
@@ -36,19 +36,4 @@ ## Installation | ||
const onRoxReady = () => { | ||
if (appSettingsContainer.shouldShoWelcome.isEnabled) { | ||
const color = appSettingsContainer.textColor.value | ||
const div = document | ||
.createElement('div') | ||
.textContent('Hello world!') | ||
.setAttribute('style', `color: ${color}`); | ||
const body = document.getElementsByTagName('body')[0] | ||
body.appendChild(div) | ||
} | ||
}; | ||
Rox.register('settingsNamespace', appSettingsContainer); | ||
Rox.setup('<app key', { | ||
configurationFetchedHandler: onRoxReady | ||
}); | ||
Rox.setup('<app key>'); | ||
``` | ||
@@ -77,13 +62,2 @@ ## Configure the SDK with different options | ||
## Activating Manual Overrides UI | ||
You can overide flags manually using a built-in UI debug utility that can be activated by invoking `Rox.showOverrides()`. | ||
Running it will display a UI element that allows to explicitly set values of flags. | ||
Available UI location of the UI element: | ||
- `'top left'` | ||
- `'top right'` | ||
- `'bottom left'` | ||
- `'bottom right' (default)` | ||
## LICENSE | ||
@@ -90,0 +64,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1788187
70