From c286ddf7e8d553fa5ca7ff43bd9f44fe3b20f37a Mon Sep 17 00:00:00 2001 From: Dmytrii Puzyr Date: Wed, 28 Jan 2026 18:30:46 +0200 Subject: [PATCH] Update the OpenFeature package documentation --- packages/react-native-openfeature/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react-native-openfeature/README.md b/packages/react-native-openfeature/README.md index af5d51fd0..0c0664c56 100644 --- a/packages/react-native-openfeature/README.md +++ b/packages/react-native-openfeature/README.md @@ -1,6 +1,6 @@ # Datadog OpenFeature Provider for React Native -Use [OpenFeature][1] with [Datadog Feature Flags][2] to evaluate feature flags and send flag evaluation data to Datadog for monitoring analysis and experimentation. +Use [OpenFeature][1] with [Datadog Feature Flags][2] to evaluate feature flags and send evaluation data to Datadog for analysis and experimentation. This package provides an OpenFeature-compatible provider that wraps Datadog's Feature Flags SDK. @@ -10,7 +10,7 @@ OpenFeature is a vendor-neutral, community-driven specification and SDK for feat ## Setup -**Note**: This package is an integration for the [OpenFeature React SDK][1]. Before using it, install and set up the core [`mobile-react-native`][3] SDK. +**Note**: This package is an integration for the [OpenFeature React SDK][1]. Before starting using Datadog Feature Flags, install and set up the core [`@datadog/mobile-react-native`][3] SDK. To install with NPM, run: @@ -30,8 +30,6 @@ yarn add @datadog/mobile-react-native @datadog/mobile-react-native-openfeature @ Use the example code snippet below to initialize the Datadog SDK, enable the Feature Flags feature, and set up the OpenFeature provider. -After completing this setup, your app should be ready for flag evaluation with OpenFeature. - ```tsx import { CoreConfiguration, DatadogProvider, DdFlags } from '@datadog/mobile-react-native'; import { DatadogOpenFeatureProvider } from '@datadog/mobile-react-native-openfeature'; @@ -67,6 +65,8 @@ import { OpenFeature } from '@openfeature/react-sdk'; ``` +After completing this setup, your app should be ready for flag evaluation with OpenFeature. + > **Note**: Sending flag evaluation data to Datadog is automatically enabled when using the Feature Flags SDK. Provide `rumIntegrationEnabled` and `trackExposures` parameters to the `DdFlags.enable()` call to configure this. ### Using the OpenFeature React SDK