From 7b153a4be9f0b377e641488beeb812e6d6879761 Mon Sep 17 00:00:00 2001 From: jackning <270580156@qq.com> Date: Fri, 28 May 2021 09:59:57 +0800 Subject: [PATCH] update 1.0.1 --- README.md | 15 +-------------- bytedesk_demo/lib/main.dart | 4 ++-- bytedesk_demo/pubspec.yaml | 6 +++--- 3 files changed, 6 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index fa3ae50..b93a1d7 100644 --- a/README.md +++ b/README.md @@ -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' - } -} -``` - ## 集成步骤 ### 第一步 diff --git a/bytedesk_demo/lib/main.dart b/bytedesk_demo/lib/main.dart index c840c7b..4b34b7a 100644 --- a/bytedesk_demo/lib/main.dart +++ b/bytedesk_demo/lib/main.dart @@ -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 with WidgetsBindingObserver { // - String _title = '萝卜丝客服Demo'; + String _title = '萝卜丝客服Demo(连接中...)'; AudioCache audioCache = AudioCache(); // @override diff --git a/bytedesk_demo/pubspec.yaml b/bytedesk_demo/pubspec.yaml index 2e7c252..79b644e 100644 --- a/bytedesk_demo/pubspec.yaml +++ b/bytedesk_demo/pubspec.yaml @@ -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 , 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.