Skip to content

Commit c013094

Browse files
authored
Merge pull request #1093 from haoxiuwen/doc-v2
Modify IM Docs
2 parents dd29eaa + 8e23cbd commit c013094

File tree

4 files changed

+11
-133
lines changed

4 files changed

+11
-133
lines changed

docs/.vuepress/sidebar/document.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,14 @@ const documentSidebar = [
199199
children: [
200200
{
201201
text: '集成介绍',
202+
collapsible: true,
202203
children: [
203204
{ text: '微信小程序', link: 'wechat.html' },
204205
{ text: 'QQ 小程序', link: 'qq.html' },
205206
{ text: '百度小程序', link: 'baidu.html' },
206207
{ text: '抖音小程序', link: 'bytedance.html' },
207208
{ text: '支付宝小程序', link: 'alipay.html' },
208209
{ text: 'Uniapp 全平台', link: 'uniapp.html' },
209-
{ text: '小程序 API 文档', link: 'apidoc.html' },
210210
],
211211
},
212212
{ text: '初始化', link: 'initialization.html' },
@@ -311,6 +311,7 @@ const documentSidebar = [
311311
{
312312
text: '其他帮助',
313313
children: [
314+
{ text: '小程序 API 文档', link: 'apidoc.html' },
314315
{ text: 'Uniapp 生成原生 Android、iOS 应用', link: 'uniappnativeapp.html' },
315316
{ text: '小程序模板使用指南', link: 'uniappuikit.html' },
316317
{ text: '如何配置服务器域名', link: 'serverconfig.html' },

docs/document/applet/intergrated.md

Lines changed: 0 additions & 122 deletions
This file was deleted.

docs/document/flutter/integration.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# 集成 SDK
22

3-
本文介绍如何将环信即时通讯 IM SDK 集成到你的 Android 项目
3+
本文介绍如何将环信即时通讯 IM SDK 集成到你的项目
44

55
## 开发环境要求
66

77
- Flutter 2.0.0 或以上版本;
8-
- Dart 2.12 或以上版本;
8+
- Dart 2.12 或以上版本;
99

1010
### 使用命令创建项目
1111

@@ -15,7 +15,7 @@ flutter create quick_start
1515

1616
### 设置 Android
1717

18-
1. 打开文件 quick_start/android/app/build.gradle 在文件最后添加:
18+
1. 打开文件 `quick_start/android/app/build.gradle` 在文件最后添加:
1919

2020
```dart
2121
android {
@@ -25,15 +25,15 @@ android {
2525
}
2626
```
2727

28-
2. 打开文件 quick_start/android/app/src/main/AndroidManifest.xml,在 </application> 下添加:
28+
2. 打开文件 `quick_start/android/app/src/main/AndroidManifest.xml`,在 `</application>` 下添加:
2929

3030
```xml
3131
<uses-permission android:name="android.permission.INTERNET" />
3232
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
3333
<uses-permission android:name="android.permission.WAKE_LOCK"/>
3434
```
3535

36-
3. 在 quick_start/android/app/proguard-rules.pro 中设置免混淆规则:
36+
3.`quick_start/android/app/proguard-rules.pro` 中设置免混淆规则:
3737

3838
```java
3939
-keep class com.hyphenate.** {*;}
@@ -42,10 +42,9 @@ android {
4242

4343
### 设置 iOS
4444

45-
iOS 需要 iOS 11.0 以上版本,
46-
47-
打开文件 quick_start/ios/Runner.xcodeproj,修改:TARGETS -> General -> Deployment info, 设置 iOS 版本为 11.0。
45+
iOS 需要 iOS 11.0 以上版本。
4846

47+
打开文件 `quick_start/ios/Runner.xcodeproj`,选择 **TARGETS > General > Deployment info**, 设置 iOS 版本为 11.0。
4948

5049
### 集成 SDK
5150

docs/product/product_message_overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ Web 和小程序端无本地消息存储。
120120

121121
默认情况下,消息附件可在服务器存储 **7** 天。若要提升该限制,你需要联系商务。消息附件的大小及存储时间限制与群组共享文件的相同。如果消息附件的其中一个限制进行了上调,群组共享文件的对应限制也会随之自动调整,反之亦然。
122122

123-
#### 离线消息存储
123+
### 离线消息存储
124124

125125
对于单聊和群聊,离线消息默认保存 **7** 天。对于每个终端用户,所有的单聊会话可存储 500 条离线消息,所有的群聊会话可存储 200 条离线消息。若超过存储天数和条数的上限,最新的离线消息会挤掉最早的。如需提升上限,可联系商务。
126126

127-
#### 事件通知存储
127+
### 事件通知存储
128128

129129
各类事件通知的存储时间与消息的存储一致。
130130

0 commit comments

Comments
 (0)