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/upgrade_helper.mdx
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,11 @@ title: Upgrading from V4
6
6
importTabsfrom'@theme/Tabs';
7
7
importTabItemfrom'@theme/TabItem';
8
8
9
+
This guide highlights the changes introduced from v4 to v5.
10
+
9
11
## Prop or Context Changes
10
12
11
-
Following values in [`ImageGalleryContext`](https://getstream.io/chat/docs/sdk/reactnative/v5/contexts/image-gallery-context/#value) have been renamed
13
+
The following values in [`ImageGalleryContext`](https://getstream.io/chat/docs/sdk/reactnative/v5/contexts/image-gallery-context/#value) have been renamed:
12
14
13
15
-`image` -> `selectedMessage`
14
16
-`setImage` -> `setSelectedMessage`
@@ -17,27 +19,25 @@ Following values in [`ImageGalleryContext`](https://getstream.io/chat/docs/sdk/r
17
19
18
20
## Dependency Changes
19
21
20
-
- If you have installed `stream-chat` dependency explicitly on your application, then upgrade it to v7
22
+
- If you have installed `stream-chat` dependency explicitly in your application, then upgrade it to v7:
Copy file name to clipboardExpand all lines: docusaurus/docs/reactnative/guides/debug_mode_using_flipper_plugin.mdx
+40-36Lines changed: 40 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,63 +9,67 @@ import FlipperDesktopGuide from '../assets/guides/debug-mode-using-flipper-plugi
9
9
10
10
## Overview
11
11
12
-
Flipper is a platform for debugging iOS, Android and React Native apps. You can debug Stream Chat within your application by using our interface within the Flipper Desktop app. This will help you analyze multiple parameters of the application which are a part of Stream Chat React Native interface.
12
+
Flipper is a platform for debugging iOS, Android, and React Native apps. You can debug Stream Chat within your application using our Flipper Desktop app interface. This plugin will help you analyze multiple parameters of your application which are part of the Stream Chat React Native interface.
13
13
14
14
<imgsrc={FlipperBanner} />
15
15
16
-
## Features:
16
+
## Features
17
+
18
+
The plugin supports the following features:
17
19
18
20
- Viewing the authenticated client in the Chat.
19
-
- Viewing the Channels, Message and Thread list data as we navigate through the screen.
21
+
- Viewing the Channels, Message, and Thread list data as you navigate the app.
20
22
- Copying and visualizing all the data.
21
23
22
-
These features are part of the 1st version of this plugin. More features will be added in the future, may you have any ideas/suggestions, please reach out via the [SDK's discussions page](https://github.com/GetStream/stream-chat-react-native/discussions)
24
+
These features are part of the 1st version of this plugin; more features will be added in the future. If you have any ideas/suggestions, please reach out via the [SDK's discussions page](https://github.com/GetStream/stream-chat-react-native/discussions).
25
+
26
+
## Installation Instructions
23
27
24
-
## How to do so?
28
+
1. First, install the Flipper plugin within your Desktop client. To do so, follow these steps:
25
29
26
-
- Firstly, you would need to install the Flipper plugin within your Desktop client. To do so, follow these steps:
30
+
- Download the Flipper Desktop app from [here](https://fbflipper.com/).
31
+
- After downloading the desktop app, move to the **Plugin Manager** section of the app and select the **Install Plugins** tab.
32
+
- Search for **stream-chat-react-native**, and you will find the plugin.
33
+
- Click on **Install** to install it.
27
34
28
-
- Download the Flipper Desktop app from [here](https://fbflipper.com/).
29
-
- After downloading the desktop app, move to **Plugin Manager** section of the app and then select the **Install Plugins** tab.
30
-
- Search for **stream-chat-react-native** and you will find this plugin.
31
-
- Click on Install to install it.
35
+
{''}
32
36
33
-
<imgsrc={FlipperDesktopGuide} />
37
+
<imgsrc={FlipperDesktopGuide} />
34
38
35
-
- Next, we will need to install `stream-chat-react-native-devtools` to your application as a dev dependency. This dependency will make communication possible between the RN Stream Chat SDK and the flipper plugin.
39
+
2. Next, install `stream-chat-react-native-devtools` to your application as a dev dependency. This dependency will make communication possible between the RN Stream Chat SDK and the Flipper plugin.
{/* All other elements of the App component comes here */}
68
-
</DebugContextProvider>
69
-
```
70
+
<DebugContextProvideruseFlipper={useFlipper}>
71
+
{/* All other elements of the App component comes here */}
72
+
</DebugContextProvider>
73
+
```
70
74
71
75
Kudos 🎉, everything else is handled by our SDK, the package [stream-chat-react-native-devtools](https://www.npmjs.com/package/stream-chat-react-native-devtools), and the [Flipper Plugin](https://www.npmjs.com/package/flipper-plugin-stream-chat-react-native).
0 commit comments