🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@unleash/unleash-react-native-sdk

Package Overview
Dependencies
Maintainers
9
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unleash/unleash-react-native-sdk

A React Native / Expo SDK for Unleash

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
3.1K
-16%
Maintainers
9
Weekly downloads
 
Created
Source

Unleash React Native SDK

Unleash is a private, secure, and scalable feature management platform built to reduce the risk of releasing new features and accelerate software development. This React Native / Expo SDK is designed to help you integrate with Unleash and evaluate feature flags inside your application.

You can use this SDK with Unleash Enterprise or Unleash Open Source.

Full documentation: https://docs.getunleash.io/sdks/react-native

Installation

npm

npm install @unleash/unleash-react-native-sdk unleash-proxy-client

Yarn

yarn add @unleash/unleash-react-native-sdk unleash-proxy-client

Expo

npx expo install @unleash/unleash-react-native-sdk unleash-proxy-client

Quick start

import { FlagProvider, useFlag } from '@unleash/unleash-react-native-sdk';

const config = {
  url: 'https://<your-unleash-instance>/api/frontend',
  clientKey: '<your-frontend-token>',
  appName: 'my-app',
};

function MyComponent() {
  const isEnabled = useFlag('my-feature');
  return isEnabled ? <NewFeature /> : <OldFeature />;
}

export default function App() {
  return (
    <FlagProvider config={config}>
      <MyComponent />
    </FlagProvider>
  );
}

For configuration options, context management, bootstrapping, testing, and troubleshooting, see the full documentation.

Contributing

Requirements

  • Node.js 20.11 or later
  • Yarn

Local development

git clone https://github.com/Unleash/unleash-react-native-sdk.git
cd unleash-react-native-sdk
yarn install

Running tests

yarn test

Building

yarn build

Code style and formatting

See the Unleash contribution guide for general guidelines.

Releasing

Releases are published to npm under the @unleash scope.

License

Apache-2.0

Keywords

unleash

FAQs

Package last updated on 24 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts