A Rozenite DevTools plugin for debugging GrowthBook feature flags and experiments in React Native apps.
Inspect features, override values, force experiment variations, and edit user attributes; all from the Rozenite DevTools panel.
pnpm add rozenite-growthbook-pluginYou'll also need these peer dependencies:
@growthbook/growthbook(>= 1.0.0)reactreact-native
Call the useGrowthBookDevTools hook somewhere inside your GrowthBookProvider:
import { useGrowthBook } from '@growthbook/growthbook-react'
import { useGrowthBookDevTools } from 'rozenite-growthbook-plugin'
function DevToolsBridge() {
const gb = useGrowthBook()
useGrowthBookDevTools(gb)
return null
}The hook only runs in development builds. It's a no-op in production.
git clone https://github.com/valeriobelli/rozenite-growthbook-plugin.git
cd rozenite-growthbook-plugin
pnpm installLook into the package.json files to understand the packages interface.
Contributions are welcome. Bug fixes, new features, docs improvements.
Use conventional commits for your commit messages (enforced by commitlint)
If you're planning something big, open an issue first so we can discuss it.
MIT
