nim_chatkit 9.7.3 copy "nim_chatkit: ^9.7.3" to clipboard
nim_chatkit: ^9.7.3 copied to clipboard

Chat Kit base on YunXin IM.

0
likes
120/ 160
pub points
73%
popularity

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

failed
Follow Dart file conventions
10 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: nim_chatkit,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: nim_chatkit.

0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

62 out of 128 API elements (48.4 %) have documentation comments.

Some symbols that are missing documentation: chat_message_repo, chat_message_repo.ChatMessageRepo, chat_message_repo.ChatMessageRepo.ChatMessageRepo, chat_message_repo.ChatMessageRepo.createForwardMessageListFileDetail, chat_message_repo.ChatMessageRepo.mergeFileName.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:nim_chatkit/chatkit_client_repo.dart that imports:
  • package:nim_chatkit/message/message_revoke_info.dart that imports:
  • package:nim_core/nim_core.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `Web`.

Because:

  • package:nim_chatkit/chatkit_client_repo.dart that imports:
  • package:nim_chatkit/message/message_revoke_info.dart that imports:
  • package:nim_core/nim_core.dart that imports:
  • package:yunxin_alog/yunxin_alog.dart that declares support for platforms: Android, iOS, Windows, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:nim_chatkit/chatkit_client_repo.dart that imports:
  • package:nim_chatkit/message/message_revoke_info.dart that imports:
  • package:nim_core/nim_core.dart that imports:
  • package:nim_core_platform_interface/src/utils/converter.dart that imports:
  • package:nim_core_platform_interface/nim_core_platform_interface.dart that imports:
  • package:nim_core_platform_interface/src/platform_interface/team/team.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: The import of 'package:collection/collection.dart' is unnecessary because all of the used elements are also provided by the import of 'package:netease_common/netease_common.dart'.

lib/repo/chat_message_repo.dart:8:8

  ╷
8 │ import 'package:collection/collection.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: An uninitialized variable should have an explicit type annotation.

lib/repo/chat_message_repo.dart:433:9

    ╷
433 │     var directory;
    │         ^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
collection ^1.15.0 1.18.0 1.19.1
flutter flutter 0.0.0 0.0.0
netease_common ^1.0.4 1.0.7 1.0.7
netease_corekit >=1.2.1 <1.3.0 1.2.1 1.2.1
netease_corekit_im >=9.7.3 <10.0.0 9.7.3 9.7.3
nim_core ^1.7.7 1.8.0 1.8.0
path_provider ^2.0.11 2.1.5 2.1.5
yunxin_alog ^2.0.0 2.0.0 2.0.0
Transitive dependencies
Package Constraint Compatible Latest
alog_macos - 1.0.12 1.0.12
alog_windows - 1.0.12 1.0.12
archive - 3.6.1 3.6.1
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
dio - 5.7.0 5.7.0
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
get_it - 7.7.0 8.0.2
hawk_meta - 0.0.1 0.0.1
http_parser - 4.0.2 4.1.1
intl - 0.19.0 0.20.0
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
netease_plugin_core_kit - 9.7.1 9.7.1
nim_core_macos - 1.0.8 1.0.8
nim_core_platform_interface - 1.7.9 1.7.9
nim_core_web - 1.0.2 1.0.2
nim_core_windows - 1.0.8 1.0.8
path - 1.9.1 1.9.1
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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 - 11.3.1 11.3.1
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
process_run - 0.12.5+3 1.2.2
pub_semver - 2.1.4 2.1.4
shared_preferences - 2.3.3 2.3.3
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
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.99 0.0.99
source_span - 1.10.0 1.10.0
sqflite - 2.4.1 2.4.1
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
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.