You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docusaurus/docs/reactnative/basics/offline_support.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,6 @@ The following features are currently **NOT** implemented. They will be implement
22
22
23
23
- Optimistically update offline database during chat interactions, such as send message, add reaction, etc.
24
24
- Access to threads in offline mode.
25
-
- Offline caching of attachment images and profile images.
26
25
27
26
## How To Enable Offline Support
28
27
@@ -104,6 +103,8 @@ chatClient.disconnectUser();
104
103
105
104
## How To Cache Images
106
105
106
+
> Available since version 5.3.0
107
+
107
108
Our SDK relies on the default caching provided by React Native (avatars, image attachments, URL preview, etc.).
108
109
This default solution is far from perfect, and you might see a lot of images missing while operating the app in offline mode.
109
110
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