update to 0.3.1

master
jackning 4 years ago
parent 92bcb5d64b
commit 602d7a5513

@ -189,6 +189,8 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
content: event.message.content, content: event.message.content,
onReply: () { onReply: () {
OverlaySupportEntry.of(context).dismiss(); OverlaySupportEntry.of(context).dismiss();
//
BytedeskKefu.startChatThread(context, event.message.thread, title: '客服会话');
}, },
); );
}, duration: Duration(milliseconds: 4000)); }, duration: Duration(milliseconds: 4000));

@ -40,7 +40,7 @@ dependencies:
# 请在ios/Podfile中添加use_frameworks! # 请在ios/Podfile中添加use_frameworks!
vibration: ^1.7.2 vibration: ^1.7.2
# https://pub.dev/packages/bytedesk_kefu # 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. # The following adds the Cupertino Icons font to your application.

Loading…
Cancel
Save