Skip to content

Commit 2c18a2a

Browse files
docs: update docs for image caching
1 parent e88c62d commit 2c18a2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docusaurus/docs/reactnative/basics/offline_support.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ The following features are currently **NOT** implemented. They will be implement
2222

2323
- Optimistically update offline database during chat interactions, such as send message, add reaction, etc.
2424
- Access to threads in offline mode.
25-
- Offline caching of attachment images and profile images.
2625

2726
## How To Enable Offline Support
2827

@@ -104,6 +103,8 @@ chatClient.disconnectUser();
104103

105104
## How To Cache Images
106105

106+
> Available since version 5.3.0
107+
107108
Our SDK relies on the default caching provided by React Native (avatars, image attachments, URL preview, etc.).
108109
This default solution is far from perfect, and you might see a lot of images missing while operating the app in offline mode.
109110
We provide a convenient solution to replace all the underlying usage of the [`Image`](https://reactnative.dev/docs/next/image) component using the `ImageComponent` prop on the `Chat` component.

0 commit comments

Comments
 (0)