Skip to content

Commit 7a5d48e

Browse files
committed
docs: added kotlin version step for flutter_core
1 parent 7c1f177 commit 7a5d48e

File tree

2 files changed

+32
-12
lines changed

2 files changed

+32
-12
lines changed

docs/flutter-core/quickstart.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,27 @@ You'll learn how to:
6969

7070
After importing the package, perform the following steps for Android and iOS.
7171

72+
### For Android
73+
74+
Set `compileSdkVersion 33` and `minSdkVersion 21` inside `build.gradle` file at the `<project root>/android/app/build.gradle` file.
75+
76+
```kotlin
77+
defaultConfig {
78+
...
79+
80+
compileSdkVersion 33
81+
minSdkVersion 21
82+
83+
...
84+
}
85+
```
86+
87+
And change the kotlin version to `1.9.0`
88+
89+
```kotlin
90+
ext.kotlin_version = '1.9.0'
91+
```
92+
7293
### For iOS
7394

7495
1. Set your platform to iOS 13.0 or above in your Podfile.

docs/flutter/quickstart.mdx

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -110,20 +110,18 @@ platform :ios, '13.0'
110110
<true/>
111111
```
112112

113-
114113
## Step 3: Configure a Dyte meeting
115114

116115
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).
117116

118117
After getting the `authToken`, you need to create the `DyteMeetingInfoV2` object as follows:
119118

120-
| Name | Description |
121-
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
122-
| `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. |
126-
119+
| Name | Description |
120+
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
121+
| `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. |
127125

128126
```dart
129127
final meetingInfo = DyteMeetingInfoV2(
@@ -139,7 +137,6 @@ final meetingInfo = DyteMeetingInfoV2(
139137
The `DyteUIKit` is the main class of the SDK. It is the entry point and the only
140138
class required to initialize Dyte UI Kit SDK. To initialize it we have to pass `DyteUIKitInfo` object as an argument.
141139

142-
143140
```dart
144141
145142
/* Passing the DyteMeetingInfoV2 object `meetingInfo` you created in the Step 3,
@@ -161,6 +158,7 @@ final uikitInfo = DyteUIKitInfo(
161158
final uiKit = DyteUIKitBuilder.build(uiKitInfo: uikitInfo, context: context);
162159
163160
```
161+
164162
You can learn more about customization of the uikit in the [Design System](/flutter/design-token) section.
165163

166164
## Step 5: Launch the meeting UI
@@ -215,10 +213,11 @@ Voila! You're all done. Here is the pictorial representation of all the configur
215213
/>
216214
))}
217215
</div>
218-
````
219-
220216

221217
<head>
222218
<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."
222+
/>
224223
</head>

0 commit comments

Comments
 (0)