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: docs/flutter/quickstart.mdx
+11-12Lines changed: 11 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -110,20 +110,18 @@ platform :ios, '13.0'
110
110
<true/>
111
111
```
112
112
113
-
114
113
## Step 3: Configure a Dyte meeting
115
114
116
115
To initiate Dyte Meeting for any participant you just need to pass `authToken` as an argument. You can get the `authToken` via the [Add Participant API](https://docs.dyte.io/api?v=v2#/operations/add_participant).
117
116
118
117
After getting the `authToken`, you need to create the `DyteMeetingInfoV2` object as follows:
|`authToken`| After you've created the meeting, <br/> add each participant to the meeting <br/> using the [Add Participant API](/api?v=v2#/operations/add_participant)<br/> (The presetName created earlier <br/> must be passed in the body <br/> of the Add Participant API request) <br/> The API response contains the `authToken`. |
123
-
|`baseUrl`| The base URL of the Dyte server. Default value is `https://api.dyte.io/v2`. This is an optional argument. |
124
-
|`enableAudio`| A boolean value to enable or disable audio in the meeting. Default value is `true`. This is an optional argument. |
125
-
|`enableVideo`| A boolean value to enable or disable video in the meeting. Default value is `true`. This is an optional argument. |
|`authToken`| After you've created the meeting, <br/> add each participant to the meeting <br/> using the [Add Participant API](/api?v=v2#/operations/add_participant)<br/> (The presetName created earlier <br/> must be passed in the body <br/> of the Add Participant API request) <br/> The API response contains the `authToken`. |
122
+
|`baseUrl`| The base URL of the Dyte server. Default value is `https://api.dyte.io/v2`. This is an optional argument. |
123
+
|`enableAudio`| A boolean value to enable or disable audio in the meeting. Default value is `true`. This is an optional argument. |
124
+
|`enableVideo`| A boolean value to enable or disable video in the meeting. Default value is `true`. This is an optional argument. |
127
125
128
126
```dart
129
127
final meetingInfo = DyteMeetingInfoV2(
@@ -139,7 +137,6 @@ final meetingInfo = DyteMeetingInfoV2(
139
137
The `DyteUIKit` is the main class of the SDK. It is the entry point and the only
140
138
class required to initialize Dyte UI Kit SDK. To initialize it we have to pass `DyteUIKitInfo` object as an argument.
141
139
142
-
143
140
```dart
144
141
145
142
/* Passing the DyteMeetingInfoV2 object `meetingInfo` you created in the Step 3,
@@ -161,6 +158,7 @@ final uikitInfo = DyteUIKitInfo(
161
158
final uiKit = DyteUIKitBuilder.build(uiKitInfo: uikitInfo, context: context);
162
159
163
160
```
161
+
164
162
You can learn more about customization of the uikit in the [Design System](/flutter/design-token) section.
165
163
166
164
## Step 5: Launch the meeting UI
@@ -215,10 +213,11 @@ Voila! You're all done. Here is the pictorial representation of all the configur
215
213
/>
216
214
))}
217
215
</div>
218
-
````
219
-
220
216
221
217
<head>
222
218
<title>Flutter Quickstart</title>
223
-
<meta name="description" content="Get started quickly with Dyte's Flutter integration. Follow our quickstart guide for seamless integration and development."/>
219
+
<meta
220
+
name="description"
221
+
content="Get started quickly with Dyte's Flutter integration. Follow our quickstart guide for seamless integration and development."
0 commit comments