{"id":13989632,"url":"https://github.com/GetStream/react-native-activity-feed","last_synced_at":"2025-07-22T11:31:03.401Z","repository":{"id":33392367,"uuid":"136905726","full_name":"GetStream/react-native-activity-feed","owner":"GetStream","description":"Official React Native SDK for Activity Feeds","archived":false,"fork":false,"pushed_at":"2023-05-25T13:38:28.000Z","size":9843,"stargazers_count":195,"open_issues_count":82,"forks_count":84,"subscribers_count":36,"default_branch":"master","last_synced_at":"2024-08-09T13:16:12.768Z","etag":null,"topics":["newsfeed","react","react-native","stream"],"latest_commit_sha":null,"homepage":"https://getstream.io/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GetStream.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-11T09:41:04.000Z","updated_at":"2024-05-24T21:41:05.000Z","dependencies_parsed_at":"2024-08-09T13:21:16.263Z","dependency_job_id":null,"html_url":"https://github.com/GetStream/react-native-activity-feed","commit_stats":null,"previous_names":[],"tags_count":88,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetStream%2Freact-native-activity-feed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetStream%2Freact-native-activity-feed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetStream%2Freact-native-activity-feed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetStream%2Freact-native-activity-feed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GetStream","download_url":"https://codeload.github.com/GetStream/react-native-activity-feed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227079508,"owners_count":17728026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["newsfeed","react","react-native","stream"],"created_at":"2024-08-09T13:01:52.431Z","updated_at":"2024-11-29T08:31:54.960Z","avatar_url":"https://github.com/GetStream.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Official React Native SDK for [Activity Feeds](https://getstream.io/activity-feeds/)\n\n\u003e React Native components to create activity and notification feeds using Stream\n\n[![NPM](https://img.shields.io/npm/v/react-native-activity-feed.svg)](https://www.npmjs.com/package/react-native-activity-feed)\n[![Build Status](https://travis-ci.org/GetStream/react-native-activity-feed.svg?branch=master)](https://travis-ci.org/GetStream/react-native-activity-feed)\n[![Component Reference](https://img.shields.io/badge/docs-component%20reference-blue.svg)](https://getstream.github.io/react-native-activity-feed/)\n\n![react native activity feed](./src/images/githubhero.png)\n\nThe official React Native integration library for Stream, a web service for\nbuilding scalable newsfeeds and activity streams.\n\n## :warning: This SDK is no longer actively maintained by Stream\n\nA Feeds integration includes a combination of server-side and client-side code and the interface can vary widely which is why we are no longer focussing on supporting this SDK. If you are starting from scratch we recommend you only use the server-side SDKs. \n\nThis is by no means a reflection of our commitment to maintaining and improving the Feeds API which will always be a product that we support.\n\nWe continue to welcome pull requests from community members in case you want to improve this SDK.\n\n---\n\nNote: The user interface for the activity feed can vary widely across different apps. Most of our activity feed customers integrate with Stream via their backend and build their own UI. This takes advantage of Stream’s scalability while keeping full control over the UI. This library is only updated and improved sporadically.\n\n## TL;DR built-in components for social networks and regular apps\n\n- Flat feeds\n- Timelines and Newsfeeds\n- Notification feed\n- Likes\n- Comments\n- Activity detail view\n- Realtime notifications\n\n## 🔗 Quick Links\n\n- [Get Started](https://getstream.io/react-native-activity-feed/tutorial/)\n- [Example app](https://github.com/GetStream/react-native-example#react-native-activity-feed-example)\n- [Component reference docs](https://getstream.github.io/react-native-activity-feed/)\n- [Internationalisation (i18n)](https://getstream.github.io/react-native-activity-feed/#internationalisation-i18n)\n\n## 🔐 React Native Compatibility\n\nTo use this library you need to ensure you match up with the correct version of React Native you are using.\n\n| `react-native-activity-feed` version | [`getstream`](https://www.npmjs.com/package/getstream) | react-native |\n| ------------------------------------ | ------------------------------------------------------ | ------------ |\n| `1.x.x`                              | `\u003e= 0.6.x`                                             | `\u003e= 0.60.0`  |\n| `0.x.x`                              | `\u003c 0.6.0`                                              | `\u003c 0.60.0`   |\n\n## 🔮 Example Apps\n\n- [Expo example](https://github.com/GetStream/react-native-activity-feed/tree/master/examples/expo#expo-example)\n- [Native example](https://github.com/GetStream/react-native-activity-feed/tree/master/examples/native#native-example)\n- [Complete social networking app](https://github.com/GetStream/react-native-example#react-native-activity-feed-example)\n\n## 🛠 Installation\n\n### Expo package\n\n```sh\n# For Expo apps\nexpo install expo-activity-feed expo-permissions expo-image-picker\n\n```\n\n### Native package\n\n```sh\n# For apps with native code\nyarn add react-native-activity-feed react-native-image-crop-picker\nnpx pod-install\n```\n\n**Note** If you are planning to use the image picker functionality, there are some additional steps to be done.\nYou can find them here - https://github.com/ivpusic/react-native-image-crop-picker/blob/v0.25.0/README.md#post-install-steps\n\n## 🔌 Usage \u0026 Activity Feed setup\n\n### Setup StreamApp component\n\nIn order to use Stream React Components in your application, you first need to initialize the `StreamApp` component. `StreamApp` holds your application config and acts as a service/data provider.\n\n```jsx\n\u003cStreamApp\n  apiKey='{API_KEY}'\n  appId='{APP_ID}'\n  userId='{USER_ID}'\n  token='{TOKEN}'\n  analyticsToken='{ANALYTICS_TOKEN}'\n\u003e\n  {/* everything from your application interacting with Stream should be nested here */}\n\u003c/StreamApp\u003e\n```\n\n1. **API_KEY** your Stream application API_KEY\n2. **API_ID** your Stream application ID\n3. **USER_ID** current user's ID\n4. **TOKEN** the authentication token for current user\n5. **ANALYTICS_TOKEN** [optional] the Analytics auth token\n\nYou can find your `API_KEY` and `APP_ID` on Stream's dashboard.\n\n#### Generating user token\n\nThe authentication user token cannot be generated client-side (that would require sharing your API secret). You should provision a user token as part of the sign-up / login flow to your application from your backend.\n\n```js\nconst client = stream.connect(API_KEY, API_SECRET);\nconst userToken = client.createUserToken(userId);\nconsole.log(userToken);\n```\n\n#### Generating analytics token\n\nReact components have analytics instrumentation built-in, this simplifies the integration with Stream. In order to enable analytics tracking, you need to initialize `StreamApp` with a valid analytics token. You can generate this server-side as well.\n\n```js\nconst client = stream.connect(API_KEY, API_SECRET);\nconst analyticsToken = client.getAnalyticsToken();\nconsole.log(analyticsToken);\n```\n\n## Copyright and License Information\n\nCopyright (c) 2015-2019 Stream.io Inc, and individual contributors. All rights reserved.\n\nSee the file \"LICENSE\" for information on the history of this software, terms \u0026 conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.\n\n## We are hiring\n\nWe've recently closed a [\\$38 million Series B funding round](https://techcrunch.com/2021/03/04/stream-raises-38m-as-its-chat-and-activity-feed-apis-power-communications-for-1b-users/) and we keep actively growing.\nOur APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world.\n\nCheck out our current openings and apply via [Stream's website](https://getstream.io/team/#jobs).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGetStream%2Freact-native-activity-feed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGetStream%2Freact-native-activity-feed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGetStream%2Freact-native-activity-feed/lists"}