update 1.0.1

master
jackning 4 years ago
parent 3bc463d17c
commit 7b153a4be9

@ -4,6 +4,7 @@
## 部分功能
- 支持安卓、iOS、Web
- 机器人对话
- 技能组客服
- 一对一客服
@ -20,20 +21,6 @@
<!-- - 提交工单 -->
<!-- - 意见反馈 -->
## 注意
- 修改安卓 android/build.gradle
```bash
# Android
buildscript {
...
dependencies {
classpath 'com.android.tools.build:gradle:3.5.4'
}
}
```
## 集成步骤
### 第一步

@ -11,7 +11,7 @@ import 'package:bytedesk_demo/page/user_info_page.dart';
import 'package:overlay_support/overlay_support.dart';
import 'package:flutter/material.dart';
import 'package:vibration/vibration.dart';
import 'package:audioplayers/audio_cache.dart';
import 'package:audioplayers/audioplayers.dart';
void main() {
// runApp(MyApp());
@ -39,7 +39,7 @@ class MyApp extends StatefulWidget {
class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
//
String _title = '萝卜丝客服Demo';
String _title = '萝卜丝客服Demo(连接中...)';
AudioCache audioCache = AudioCache();
//
@override

@ -28,19 +28,19 @@ dependencies:
# https://pub.dev/packages/event_bus
event_bus: ^2.0.0
# toast https://pub.dev/packages/fluttertoast
fluttertoast: ^8.0.6
fluttertoast: ^8.0.7
# 消息设置switch https://pub.dev/packages/list_tile_switch
list_tile_switch: ^1.0.0
# 应用内-顶部通知栏 https://pub.dev/packages/overlay_support/
overlay_support: ^1.2.1
# 播放提示音 https://pub.dev/packages/audioplayers
audioplayers: ^0.18.3
audioplayers: ^0.19.0
# 振动 https://pub.dev/packages/vibration
# 针对报错fatal error: 'vibration/vibration-Swift.h' file not found #import <vibration/vibration-Swift.h>, ld: library not found for -lvibration
# 请在ios/Podfile中添加use_frameworks!
vibration: ^1.7.3
# 在线客服 https://pub.dev/packages/bytedesk_kefu
bytedesk_kefu: ^1.0.0
bytedesk_kefu: ^1.0.1
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.

Loading…
Cancel
Save