Installation

Install the SDK

npm install @stream-io/feeds-react-native-sdk
# or using yarn
yarn add @stream-io/feeds-react-native-sdk

Install the mandatory peer dependencies

npm install @react-native-community/netinfo
# or using yarn
yarn add @react-native-community/netinfo

GitHub repository: https://github.com/GetStream/stream-feeds-js. Feel free to submit bug reports and feature requests.

The SDK can be used with both JavaScript and TypeScript.

import { FeedsClient } from "@stream-io/feeds-react-native-sdk";

const client = new FeedsClient("<API key>");
await client.connectUser({ id: "john" }, "<user token>");

Supported React versions: >=17.0.0 Supported React Native versions: >=0.73.0 Supported Expo versions: >=51.0.0