diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index 4f30dba..78617e2 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -150,6 +150,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1066,6 +1108,12 @@ + + + + + + diff --git a/bytedesk_kefu/lib/http/bytedesk_device_api.dart b/bytedesk_kefu/lib/http/bytedesk_device_api.dart index 7971404..759b849 100755 --- a/bytedesk_kefu/lib/http/bytedesk_device_api.dart +++ b/bytedesk_kefu/lib/http/bytedesk_device_api.dart @@ -4,7 +4,7 @@ import 'dart:convert'; import 'package:bytedesk_kefu/http/bytedesk_base_api.dart'; import 'package:bytedesk_kefu/util/bytedesk_constants.dart'; import 'package:bytedesk_kefu/util/bytedesk_utils.dart'; -import 'package:device_info/device_info.dart'; +import 'package:device_info_plus/device_info_plus.dart'; import 'package:devicelocale/devicelocale.dart'; import 'package:package_info/package_info.dart'; diff --git a/bytedesk_kefu/pubspec.yaml b/bytedesk_kefu/pubspec.yaml index a5c8c9c..76fc354 100644 --- a/bytedesk_kefu/pubspec.yaml +++ b/bytedesk_kefu/pubspec.yaml @@ -51,7 +51,8 @@ dependencies: # H5-webchat https://pub.dev/packages/webview_flutter webview_flutter: ^2.0.4 # https://pub.dev/packages/device_info - device_info: 2.0.0 +# device_info: 2.0.0 + device_info_plus: ^2.0.1 # 查看大图 https://pub.dev/packages/photo_view photo_view: ^0.13.0 # 图片缓存 https://pub.dev/packages/cached_network_image