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
* feat: offline support
* refactor: drop un-used function pragmaUserVersion
* refactor: reverting changes to ChannelPreview
* fix: fixing migration code issue
* refactor: drop limits from queries
* refactor: handling of message.read events and reads entity
* refactor: added members to separate table
* refactor: relative explicit query with left join to enrich users
* refactor: cleanup and reorganizing
* refactor: added index and foreign key constraints
* refactor: changes to be compatible with js client
* test: mocking sqlite
* refactor: added missing fields on channels table
* refactor: changes to be in sync with event from js client
* refactor: renaming table and cleanup of columns
* refactor: moving all quick-sqlite logic to separate class
* test: added simple test for offline support
* refactor: handle member related events
* refactor: added usage of sync api
* refactor: cleaning up un-necessary packages
* refactor: fixed issue with update message foreign key constraint failure
* refactor: cleanup
* refactor: cleanup
* tests: writing tests for offline feature
* refactor: removed dev-menu package and usage
* refactor: remove unused initDevMenu import
* refactor: remove un-used flipper packages
* docs: adding code comments
* refactor: removing unnecessary generics
* refactor: cleanup of mapper functions
* refactor: renaming offlineChannelsActive to staticChannelsActive
* refactor: removed metro config changes
* buiild: fixed issue with manual release script
* refactor: cleanup of handleEventToSyncDB
* refactor: fixing lint issue
* fix: removed redundant usage of useStreami18n hook
* fix: issue with message not displayed in static state
* build: updating stream-chat version
* fix: issue with appendWhereClause and undefined value
* fix: issue with members state initialization
* build: do not format on save
* fix: issue mapping memberCount to api response
* build: upgrading stream-chat version
* fix: reposition image error indicator
* refactor: use network error handling to useLoadingImage
* fix: image loading issue after network is recovered
* fix: logic for sync api and lint issues
* feat: point cameraroll dependency to the stream fork version
* fix: message.new event handling
* refactor: remove unnecessary client as hook dep
* refactor: code review changes
* refactor: moving offline support logic to Chat component
* refactor: fix lint and typescript issues
* refactor: handle quick-sqlite not being installed in better way
* docs: lint fixes
Co-authored-by: Mads Røskar <[email protected]>
Co-authored-by: stevegalili <[email protected]>
Co-authored-by: Santhosh Vaiyapuri <[email protected]>
Copy file name to clipboardExpand all lines: docusaurus/docs/reactnative/basics/upgrade_helper.mdx
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import TabItem from '@theme/TabItem';
8
8
9
9
## Update Camera Roll dependency
10
10
11
-
Replace the `@react-native-community/cameraroll` with `@stream-io/react-native-cameraroll`. We had to roll out our fork as `@react-native-community/cameraroll` is no longer accepting pull requests for important fixes like Android 11 compatibility.
11
+
Replace the `@react-native-community/cameraroll` with `@stream-io/react-native-cameraroll`. We had to roll out our fork as `@react-native-community/cameraroll` is no longer accepting pull requests for important fixes like Android 11 compatibility.
12
12
13
13
```bash
14
14
# Remove existing cameraroll dependency
@@ -32,14 +32,15 @@ Offline Support is a major opt-in feature introduced in v5 of SDK. To enable off
32
32
33
33
Until v4, you could provide separate `Chat` component for each usage of `Channel` component or `ChannelList` component.
34
34
But from v5, it is necessary that you provide only one instance of `Chat` component within your application.
35
-
This component needs to be a parent for all the chat related components such as `ChannelList`, `Channel` or `Thread`.
35
+
This component needs to be a parent for all the chat related components such as `ChannelList`, `Channel` or `Thread`.
36
36
37
37
-**Do not wait for `connectUser` call to succeed**
38
38
39
39
It is important that you call `connectUser` method on chat client, before you render Chat components.
40
40
But you don't need to wait for `connectUser` to succeed before rendering Chat components. This is to ensure:
41
-
- Chat components have access to current user information, which is important to store/access offline data.
42
-
- In case or slow or no network, Chat components will still load the chat data without waiting for connectUser to succeed.
41
+
42
+
- Chat components have access to current user information, which is important to store/access offline data.
43
+
- In case or slow or no network, Chat components will still load the chat data without waiting for connectUser to succeed.
0 commit comments