Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Targets iOS and Android.
- **Languages:** TypeScript + React Native
- **Runtime:** Node 24 (`.nvmrc` is `v24`; root `engines.node` is `>=20.19.4`; CI runs `24.x`)
- **Package manager:** Yarn 4.15.0 (Berry). The binary lives at `.yarn/releases/yarn-4.15.0.cjs` and is activated via `yarnPath` in `.yarnrc.yml`. Any globally installed `yarn` (even the Homebrew classic 1.x) acts only as a launcher — no Corepack required.
- **Workspaces:** single root `yarn.lock`; workspaces are `configs/typescript-config`, `package`, `package/native-package`, `package/expo-package`, `examples/SampleApp`, `examples/ExpoMessaging`, `examples/TypeScriptMessaging`. **No Lerna.**
- **Workspaces:** single root `yarn.lock`; workspaces are `configs/typescript-config`, `package`, `package/native-package`, `package/expo-package`, `examples/SampleApp`, `examples/ExpoMessaging`. **No Lerna.**
- **Testing:** Jest with the `@react-native/jest-preset` + `@testing-library/react-native`.
- **Build:** `react-native-builder-bob` → CommonJS (`lib/commonjs`), ESM (`lib/module`), types (`lib/typescript`)
- **Lint/format:** ESLint 9 flat config + Prettier, strict (`--max-warnings 0`)
Expand All @@ -41,7 +41,7 @@ Respect repo-specific rules. Do not suppress lint rules broadly; justify and sco
- `native-package/` — bare RN wrapper (`stream-chat-react-native`)
- `expo-package/` — Expo wrapper (`stream-chat-expo`)
- `shared-native/{ios,android}` — native source shared by both wrappers; synced into them, never edited in place
- `examples/` — `SampleApp` (full-featured), `ExpoMessaging`, `TypeScriptMessaging`
- `examples/` — `SampleApp` (full-featured), `ExpoMessaging`
- `configs/typescript-config/` — shared `tsconfig` presets
- `ai-docs/` — agent-facing deep dives (see [References](#references))
- `perf/` — on-device performance toolkit (see [Accessibility, RTL & performance](#accessibility-rtl--performance))
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,9 @@ For complete pricing details visit our [Chat Pricing Page](https://getstream.io/

## 🔮 Example Apps

This repo includes 3 example apps. One made with Expo, two in TypeScript. One TypeScript app is a simple implementation for reference, the other is a more full featured app example.
This repo includes 2 example apps. One made with Expo, and a more full featured app example built with the React Native CLI.

- [Expo example](https://github.com/GetStream/stream-chat-react-native/tree/develop/examples/ExpoMessaging)
- [Typescript example](https://github.com/GetStream/stream-chat-react-native/tree/develop/examples/TypeScriptMessaging)
- [Fully featured messaging application](https://github.com/GetStream/stream-chat-react-native/tree/develop/examples/SampleApp)

Besides, our team maintains a dedicated repository for fully-fledged sample applications and demos at [GetStream/react-native-samples](https://github.com/GetStream/react-native-samples). Please consider checking following sample applications:
Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This directory contains all the example apps that use our Stream Chat React Native SDK components.

The three apps -- `SampleApp`, `ExpoMessaging`, `TypeScriptMessaging` -- are Yarn 4 workspaces of the repo root. A single `yarn install` at the repo root sets all of them up; their SDK dependencies (`stream-chat-react-native-core`, `stream-chat-react-native`, `stream-chat-expo`) are wired via `workspace:^`, and each app's `metro.config.js` adds the SDK source to Metro's watch folders and resolution table.
The two apps -- `SampleApp`, `ExpoMessaging` -- are Yarn 4 workspaces of the repo root. A single `yarn install` at the repo root sets all of them up; their SDK dependencies (`stream-chat-react-native-core`, `stream-chat-react-native`, `stream-chat-expo`) are wired via `workspace:^`, and each app's `metro.config.js` adds the SDK source to Metro's watch folders and resolution table.

On RN <= 0.72, symlink was not supported by default so the setup has to be done locally through metro config to run the project within the monorepo. The guide below addresses the same -- it remains useful when you want to consume a locally-cloned SDK from an app that lives **outside** this monorepo.

Expand Down
14 changes: 7 additions & 7 deletions examples/SampleApp/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2355,9 +2355,9 @@ PODS:
- React-runtimeexecutor
- ReactCommon/turbomodule/core
- ReactNativeDependencies
- ReactAppDependencyProvider (0.86.0):
- ReactAppDependencyProvider (0.86.2):
- ReactCodegen
- ReactCodegen (0.86.0):
- ReactCodegen (0.86.2):
- hermes-engine
- RCTRequired
- RCTTypeSafety
Expand Down Expand Up @@ -2857,7 +2857,7 @@ PODS:
- SDWebImageWebPCoder (0.15.0):
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.17)
- stream-chat-react-native (9.7.1):
- stream-chat-react-native (9.7.2):
- hermes-engine
- RCTRequired
- RCTTypeSafety
Expand Down Expand Up @@ -3379,8 +3379,8 @@ SPEC CHECKSUMS:
React-utils: 25a0beadc5eacbffeb965c7024826b1233dbedc6
React-viewtransitionnativemodule: 8f1d4895e081e0b2f0a98069c098eb40be032138
React-webperformancenativemodule: 5bddf6c7eecda8a3ce48b82609008965cc9d94c2
ReactAppDependencyProvider: dcdd0e1b9559a6d8d8aea05286f4ed085091978e
ReactCodegen: cd296de5e1c422deebafff34134d1721b5c29704
ReactAppDependencyProvider: 0e13d430eadac8a2ef18515a860d5c59df05b475
ReactCodegen: b4e2c5f0d9415b8fe2faf163fca6f40c62f9666a
ReactCommon: 9002f006f571256348994183f7d4387aa7cf84e8
ReactNativeDependencies: 2bd6854ade79bf1b60586d1ab7813a389df1b6bf
RNCClipboard: 7a7d4557bfd3370b35c99dfecd92ae7b9fc4948a
Expand All @@ -3399,10 +3399,10 @@ SPEC CHECKSUMS:
SDWebImageAVIFCoder: afe194a084e851f70228e4be35ef651df0fc5c57
SDWebImageSVGCoder: 15a300a97ec1c8ac958f009c02220ac0402e936c
SDWebImageWebPCoder: 0e06e365080397465cc73a7a9b472d8a3bd0f377
stream-chat-react-native: b3a7450925e3744152f7a5ee008310274debd6c7
stream-chat-react-native: e97f6d3ed0c2828b20610ffc0023ad7f9c90738d
Teleport: c56b30b08bd20d10da1efb0f21c6bc50c269ee6a
Yoga: 542a30dafe5b0f5f1d9f185ea7b2a3811ac54801

PODFILE CHECKSUM: 265665a90a2835886ea9693f40400a18ed64d6e5
PODFILE CHECKSUM: ac9682db83e42d63d399a8de4586161e86b3e751

COCOAPODS: 1.15.2
2 changes: 0 additions & 2 deletions examples/TypeScriptMessaging/.bundle/config

This file was deleted.

3 changes: 0 additions & 3 deletions examples/TypeScriptMessaging/.gitattributes

This file was deleted.

78 changes: 0 additions & 78 deletions examples/TypeScriptMessaging/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion examples/TypeScriptMessaging/.node-version

This file was deleted.

1 change: 0 additions & 1 deletion examples/TypeScriptMessaging/.watchmanconfig

This file was deleted.

Loading