ltc 1 year ago
parent
commit
13b0999284
1 changed files with 20 additions and 9 deletions
  1. 20 9
      README.md

+ 20 - 9
README.md

@@ -1,16 +1,27 @@
 # agora_chat_demo
 
-A new Flutter project.
+agora chat demo
 
-## Getting Started
+![](https://file.yoqi.me/Developer/Flutter/agora_chat_demo/20230603192131.jpg)
 
-This project is a starting point for a Flutter application.
+download apk:  https://fileshare.yoqi.me/Developer/Flutter/agora_chat_demo
 
-A few resources to get you started if this is your first Flutter project:
+## Develop
 
-- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
-- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
+1、配置 appkey等参数
+
+```
+vim lib\models\config.dart
+
+  static const String appKey  注意是chat应用的appkey
+  static const String userId  需要console创建一个用户
+  static const String agoraToken  测试时后台临时生成一个,部署正式环境时需要自己实现token服务,比如实现用户的注册登录功能
+```
+
+
+2、构建
+
+```
+flutter build apk
+```
 
-For help getting started with Flutter development, view the
-[online documentation](https://docs.flutter.dev/), which offers tutorials,
-samples, guidance on mobile development, and a full API reference.