bytedesk_kefu 2.0.0 copy "bytedesk_kefu: ^2.0.0" to clipboard
bytedesk_kefu: ^2.0.0 copied to clipboard

the best app chat sdk in china, you can chat with the agent freely at anytime. the agent can chat with the visitor by web/pc/mac/ios/android client.

8
likes
130/ 160
pub points
161
downloads

We analyzed this package 2 hours ago, and awarded it 130 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/Bytedesk/bytedesk-flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

665 out of 2825 API elements (23.5 %) have documentation comments.

Some symbols that are missing documentation: anchor, anchor.AnchorKey, anchor.AnchorKey.forId, anchor.AnchorKey.id, anchor.AnchorKey.of.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/chat/provider/chat_kf_provider.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/chat_kf_page.dart that imports:
  • package:bytedesk_kefu/ui/chat/widget/message_widget.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/video_play_page.dart that imports:
  • package:chewie/chewie.dart that imports:
  • package:chewie/src/material/material_desktop_controls.dart that imports:
  • package:chewie/src/chewie_player.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/chat/provider/chat_kf_provider.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/chat_kf_page.dart that imports:
  • package:bytedesk_kefu/ui/chat/widget/message_widget.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/video_play_page.dart that imports:
  • package:chewie/chewie.dart that imports:
  • package:chewie/src/material/material_desktop_controls.dart that imports:
  • package:chewie/src/chewie_player.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/chat/provider/chat_kf_provider.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/chat_kf_page.dart that imports:
  • package:bytedesk_kefu/model/message_provider.dart that imports:
  • package:bytedesk_kefu/model/message.dart that imports:
  • package:bytedesk_kefu/util/bytedesk_utils.dart that imports:
  • package:bytedesk_kefu/mqtt/bytedesk_mqtt.dart that imports:
  • package:flutter_vibrate/flutter_vibrate.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/chat/provider/chat_kf_provider.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/chat_kf_page.dart that imports:
  • package:bytedesk_kefu/model/message_provider.dart that imports:
  • package:bytedesk_kefu/model/message.dart that imports:
  • package:bytedesk_kefu/util/bytedesk_utils.dart that imports:
  • package:bytedesk_kefu/mqtt/bytedesk_mqtt.dart that imports:
  • package:flutter_vibrate/flutter_vibrate.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/chat/provider/chat_kf_provider.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/chat_kf_page.dart that imports:
  • package:bytedesk_kefu/model/message_provider.dart that imports:
  • package:bytedesk_kefu/model/message.dart that imports:
  • package:bytedesk_kefu/util/bytedesk_utils.dart that imports:
  • package:bytedesk_kefu/mqtt/bytedesk_mqtt.dart that imports:
  • package:flutter_vibrate/flutter_vibrate.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/chat/provider/chat_kf_provider.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/chat_kf_page.dart that imports:
  • package:bytedesk_kefu/model/message_provider.dart that imports:
  • package:bytedesk_kefu/model/message.dart that imports:
  • package:bytedesk_kefu/util/bytedesk_utils.dart that imports:
  • package:bytedesk_kefu/mqtt/bytedesk_mqtt.dart that imports:
  • package:flutter_vibrate/flutter_vibrate.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:bytedesk_kefu/bytedesk_kefu.dart that imports:
  • package:bytedesk_kefu/ui/chat/provider/chat_kf_provider.dart that imports:
  • package:bytedesk_kefu/ui/chat/page/chat_kf_page.dart that imports:
  • package:bytedesk_kefu/model/message_provider.dart that imports:
  • package:bytedesk_kefu/model/message.dart that imports:
  • package:bytedesk_kefu/util/bytedesk_utils.dart that imports:
  • package:bytedesk_kefu/mqtt/bytedesk_mqtt.dart that imports:
  • package:mqtt_client/mqtt_server_client.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/bytedesk_kefu/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 100 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: Thread.uid, Thread.topic, Thread.content, Thread.type, Thread.status, Thread.top, Thread.unread, Thread.unreadCount, Thread.mute, Thread.star, Thread.folded, Thread.client, Thread.extra, Thread.user, Thread.updatedAt

lib/model/thread.dart:19:7

   ╷
19 │ class Thread extends Equatable {
   │       ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/model/thread.dart

WARNING: Unused import: 'package:sp_util/sp_util.dart'.

lib/ui/chat/page/chat_kf_page.dart:19:8

   ╷
19 │ import 'package:sp_util/sp_util.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/chat/page/chat_kf_page.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
audio_session ^0.1.21 0.1.23 0.1.23
bloc ^8.1.2 8.1.4 8.1.4
cached_network_image ^3.3.0 3.4.1 3.4.1
chewie ^1.7.0 1.8.5 1.8.5
collection ^1.17.1 1.19.0 1.19.1
crypto ^3.0.3 3.0.6 3.0.6
css_colors ^1.1.1 1.1.5 1.1.5
csslib ^1.0.0 1.0.2 1.0.2
equatable ^2.0.5 2.0.7 2.0.7
event_bus ^2.0.0 2.0.1 2.0.1
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.1.3 8.1.6 8.1.6
flutter_cache_manager ^3.3.1 3.4.1 3.4.1
flutter_localizations flutter 0.0.0 0.0.0
flutter_sound ^9.15.61 9.17.8 9.17.8
flutter_vibrate ^1.3.0 1.3.0 1.3.0
flutter_web_plugins flutter 0.0.0 0.0.0
fluttertoast ^8.2.6 8.2.10 8.2.10
html ^0.15.4 0.15.5 0.15.5
http ^1.1.0 1.2.2 1.2.2
http_parser ^4.0.2 4.1.1 4.1.1
image_gallery_saver ^2.0.3 2.0.3 2.0.3
image_picker ^1.0.4 1.1.2 1.1.2
intl ^0.19.0 0.19.0 0.20.1
meta ^1.9.1 1.15.0 1.16.0
mqtt_client ^10.5.1 10.5.1 10.6.1
numerus ^2.1.2 2.3.0 2.3.0
package_info ^2.0.2 2.0.2 2.0.2
path ^1.8.3 1.9.0 1.9.1
path_provider ^2.1.4 2.1.5 2.1.5
permission_handler ^11.3.1 11.3.1 11.3.1
photo_view ^0.15.0 0.15.0 0.15.0
plugin_platform_interface ^2.1.5 2.1.8 2.1.8
protobuf ^3.1.0 3.1.0 3.1.0
provider ^6.0.5 6.1.2 6.1.2
pull_to_refresh ^2.0.0 2.0.0 2.0.0
sp_util ^2.0.3 2.0.3 2.0.3
sqflite ^2.3.0 2.4.1 2.4.1
stomp_dart_client ^2.1.0 2.1.0 2.1.0
typed_data ^1.3.2 1.4.0 1.4.0
universal_html ^2.2.3 2.2.4 2.2.4
url_launcher ^6.2.1 6.3.1 6.3.1
video_player ^2.7.0 2.9.2 2.9.2
webview_flutter ^4.8.0 4.9.0 4.10.0
webview_flutter_android ^3.16.6 3.16.9 4.2.0
webview_flutter_wkwebview ^3.14.0 3.16.3 3.16.3
wechat_assets_picker ^9.2.0 9.4.2 9.4.2
wechat_camera_picker ^4.3.1 4.3.6 4.3.6
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
camera - 0.10.6 0.11.0+2
camera_android - 0.10.9+17 0.10.9+17
camera_avfoundation - 0.9.17+5 0.9.17+5
camera_platform_interface - 2.8.0 2.8.0
camera_web - 0.3.5 0.3.5
characters - 1.3.0 1.4.0
charcode - 1.4.0 1.4.0
clock - 1.1.1 1.1.2
cross_file - 0.3.4+2 0.3.4+2
cupertino_icons - 1.0.8 1.0.8
dbus - 0.7.10 0.7.10
extended_image - 9.0.9 9.0.9
extended_image_library - 4.0.5 4.0.5
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+3 0.9.3+3
fixnum - 1.1.1 1.1.1
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_sound_platform_interface - 9.17.8 9.17.8
flutter_sound_web - 9.17.8 9.17.8
http_client_helper - 3.0.0 3.0.0
image_picker_android - 0.8.12+19 0.8.12+19
image_picker_for_web - 3.0.6 3.0.6
image_picker_ios - 0.8.12+1 0.8.12+1
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
js - 0.7.1 0.7.1
logger - 2.5.0 2.5.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
mime - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
octo_image - 2.1.0 2.1.0
package_info_plus - 8.1.2 8.1.2
package_info_plus_platform_interface - 3.0.2 3.0.2
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.0.2 6.0.2
photo_manager - 3.6.3 3.6.3
photo_manager_image_provider - 2.2.0 2.2.0
platform - 3.1.6 3.1.6
recase - 4.1.0 4.1.0
rxdart - 0.28.0 0.28.0
sensors_plus - 6.1.1 6.1.1
sensors_plus_platform_interface - 2.0.1 2.0.1
shared_preferences - 2.3.4 2.3.4
shared_preferences_android - 2.4.0 2.4.0
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
stream_channel - 2.1.3 2.1.3
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
universal_io - 2.2.2 2.2.2
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.5 2.6.5
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
visibility_detector - 0.4.0+2 0.4.0+2
wakelock_plus - 1.2.10 1.2.10
wakelock_plus_platform_interface - 1.2.2 1.2.2
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1
webview_flutter_platform_interface - 2.10.0 2.10.0
wechat_picker_library - 1.0.5 1.0.5
win32 - 5.9.0 5.9.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

Try running dart pub upgrade --major-versions intl to update the constraint.

The constraint `^3.16.6` on webview_flutter_android does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions webview_flutter_android to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.