From 9b8f21ee7e0cc3bd96eea185208dda9a165ccefc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A0=E6=96=87=E8=BD=A9?= <12812285557@qq.com> Date: Wed, 30 Nov 2022 09:49:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0device=5Finfo=3D>device=5Finf?= =?UTF-8?q?o=5Fplus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/libraries/Dart_Packages.xml | 48 +++++++++++++++++++ .../lib/http/bytedesk_device_api.dart | 2 +- bytedesk_kefu/pubspec.yaml | 3 +- 3 files changed, 51 insertions(+), 2 deletions(-) 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