From 602d7a5513fa3f9f8e8cde3c5c937cd182762465 Mon Sep 17 00:00:00 2001 From: jackning <270580156@qq.com> Date: Sat, 21 Nov 2020 18:53:26 +0800 Subject: [PATCH] update to 0.3.1 --- bytedesk_demo/lib/main.dart | 2 ++ bytedesk_demo/pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bytedesk_demo/lib/main.dart b/bytedesk_demo/lib/main.dart index e62c5c3..2b4996a 100644 --- a/bytedesk_demo/lib/main.dart +++ b/bytedesk_demo/lib/main.dart @@ -189,6 +189,8 @@ class _MyAppState extends State with WidgetsBindingObserver { content: event.message.content, onReply: () { OverlaySupportEntry.of(context).dismiss(); + // 进入客服页面,支持自定义页面标题 + BytedeskKefu.startChatThread(context, event.message.thread, title: '客服会话'); }, ); }, duration: Duration(milliseconds: 4000)); diff --git a/bytedesk_demo/pubspec.yaml b/bytedesk_demo/pubspec.yaml index 94189cd..d3c442b 100644 --- a/bytedesk_demo/pubspec.yaml +++ b/bytedesk_demo/pubspec.yaml @@ -40,7 +40,7 @@ dependencies: # 请在ios/Podfile中添加:use_frameworks! vibration: ^1.7.2 # https://pub.dev/packages/bytedesk_kefu - bytedesk_kefu: ^0.3.0 + bytedesk_kefu: ^0.3.1 # The following adds the Cupertino Icons font to your application.