featbit-react-native-sdk

Integrate FeatBit feature flags into React Native apps with provider and hook APIs.

11|1|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/featbit/featbit-skills --skill featbit-react-native-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: featbit-react-native-sdk
Source: https://github.com/featbit/featbit-skills/tree/main/skills/featbit-react-native-sdk
Command: npx skills add https://github.com/featbit/featbit-skills --skill featbit-react-native-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides developers on integrating FeatBit's React Native client SDK into RN apps to enable feature flags, initialization, and flag evaluation across iOS/Android.

Core Features & Use Cases

  • Installation & prerequisites: Install the RN SDK and configure environment values such as sdkKey, streamingUri, and eventsUri.
  • SDK initialization: Build a config with buildConfig({ options }) and initialize using withFbProvider or asyncWithFbProvider.
  • Flag evaluation in components: Read flags in UI with useFlags to determine rendering based on feature flags.
  • User identification after initialization: Use fbClient.identify to attach user context post-boot.

Quick Start

Initialize the SDK at app entry by building a config with options and wrapping your app with withFbProvider (or asyncWithFbProvider) to load flags.

Frequently Asked Questions about featbit-react-native-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate feature flags into a React Native app?

To integrate feature flags into a React Native app, install the FeatBit RN SDK, configure environment values like sdkKey, and wrap your app with withFbProvider or asyncWithFbProvider to initialize. This enables flag evaluation across iOS and Android projects.

How do I evaluate feature flags inside React Native components?

You evaluate feature flags in React Native components by calling the useFlags API. This hook reads the flag values loaded during SDK initialization, allowing your UI to determine rendering logic based on the evaluated feature flags.

How do I identify a user context after initializing the React Native SDK?

You identify a user context after React Native SDK initialization by calling fbClient.identify. This method attaches the specific user context post-boot, ensuring subsequent flag evaluations are targeted to the identified user.

What configuration options are needed to initialize the FeatBit React Native SDK?

Initializing the FeatBit React Native SDK requires building a config with buildConfig({ options }) using environment values such as sdkKey, streamingUri, and eventsUri. This configuration is then passed to withFbProvider or asyncWithFbProvider at app entry.

Does the FeatBit React Native SDK support both iOS and Android projects?

Yes, the FeatBit React Native SDK supports both iOS and Android projects. It applies to initialization, flag evaluation in components, and user identification seamlessly across both mobile platforms within your React Native application.