Norway Porridge Makers

    rox-react-native
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/rox-react-native package

    5.2.0 • Public • Published

    Rollout

    Rollout is a Secure Feature Managment Solution for the Enterprise.

    Accelerate development and minimize the risk of deploying new code with simple to create feature flags, controlled rollouts, advanced target groups & deployment rules.

    Getting Started

    Please see the detailed instructions in our docs how to add Rollout to your project.

    Documentation

    Getting started guide, use cases, examples and videos can be found at Rollout support site

    Rollout Client React Native SDK 🦆

    Rollout 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.

    Installation

    npm i rox-react-native --save
    

    Usage

    Obtain an application key by registering at Rollout.io.

    import Rox from 'rox-react-native';
    
    const appSettingsContainer = {
      shouldShowWelcome: new Rox.Flag(),
      textColor: new Rox.RoxString('black'),
      textSize: new Rox.RoxNumber(12, [18, 24])
    };
    
    Rox.register('settingsNamespace', appSettingsContainer);
    Rox.setup('<app key>');

    Configure the SDK with different options

    Override the default configuration by prodiving predefined configuration preset for Rox.setup.

    For example:

    import Rox from 'rox-react-native';
    
    /*
    - roxOptions.distinctId
    - roxOptions.version
    - roxOptions.syncComplitionHandler
    */
    
    const roxOptions = {
      distinctId: 'sessionDistinctId',
      version: '1.0',
      configurationFetchedHandler: () => {}
    };
    
    Rox.setup('<app key>', roxOptions);

    LICENSE

    Rollout client JavaScript SDK is free-to-use, proprietary software. Please see the full license found under the LICENSE file for more details.

    Feedback

    Feedback is always welcomed support@rollout.io

    Install

    npm i rox-react-native

    Homepage

    rollout.io

    DownloadsWeekly Downloads

    1,124

    Version

    5.2.0

    License

    SEE LICENSE IN LICENSE

    Unpacked Size

    1.16 MB

    Total Files

    4

    Last publish

    Collaborators

    • ekeren
    • eladrollout
    • asaf_rollout
    • g-guirado
    • agentgonzo
    • markwm
    • eladcloudbees