npm install @stream-io/feeds-react-native-sdk
# or using yarn
yarn add @stream-io/feeds-react-native-sdkActivity Feeds v3 is in beta — try it out!
Installation
Install the SDK
Install the mandatory peer dependencies
npm install @react-native-community/netinfo
# or using yarn
yarn add @react-native-community/netinfoGitHub 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>");