nim_chatkit 10.3.0
nim_chatkit: ^10.3.0 copied to clipboard
Chat Kit base on YunXin IM.
We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):
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 50 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.
- contains
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
.
10/10 points: 20% or more of the public API has dartdoc comments
275 out of 684 API elements (40.2 %) have documentation comments.
Some symbols that are missing documentation: ai_error_code
, ai_error_code.AIErrorCode.AIErrorCode.new
, ai_error_code.AIErrorCode.errorCodeAccountBanned
, ai_error_code.AIErrorCode.errorCodeAccountChatBanned
, ai_error_code.AIErrorCode.errorCodeAccountNotExist
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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_v2/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_v2/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_v2/nim_core.dart
that imports:package:nim_core_v2_platform_interface/src/platform_interface/chatroom/chatroom_queue.dart
that imports:package:nim_core_v2_platform_interface/nim_core_v2_platform_interface.dart
that imports:package:nim_core_v2_platform_interface/src/platform_interface/setting/platform_interface_settings_service.dart
that imports:package:nim_core_v2_platform_interface/src/method_channel/method_channel_settings_service.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 21 issues. Showing the first 2:
WARNING: Unused import: 'package:netease_common/netease_common.dart'.
lib/chatkit_utils.dart:5:8
╷
5 │ import 'package:netease_common/netease_common.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/chatkit_utils.dart
WARNING: Missing case clause for 'chatroomNotification'.
lib/extension.dart:13:5
╷
13 │ switch (this) {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/extension.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
crypto |
^3.0.2 |
3.0.6 | 3.0.6 | |
get_it |
^7.2.0 |
7.7.0 | 8.0.3 | |
netease_common |
^1.0.8 |
1.2.1 | 1.2.1 | |
netease_corekit |
>=1.2.1 <1.3.0 |
1.2.1 | 1.2.1 | |
nim_core_v2 |
^10.9.0 |
10.9.0 | 10.9.0 | |
path_provider |
^2.0.11 |
2.1.5 | 2.1.5 | |
shared_preferences |
^2.0.15 |
2.5.3 | 2.5.3 | |
sqflite |
^2.3.0 |
2.4.2 | 2.4.2 | |
yunxin_alog |
^2.0.0 |
2.0.3 | 2.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
alog_macos |
- | 1.0.12 | 1.0.12 | |
alog_windows |
- | 1.0.12 | 1.0.12 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dio |
- | 5.8.0+1 | 5.8.0+1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
hawk_meta |
- | 0.0.1 | 0.0.1 | |
html |
- | 0.15.6 | 0.15.6 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.19.0 | 0.20.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
nim_core_v2_macos |
- | 10.4.0 | 10.4.0 | |
nim_core_v2_platform_interface |
- | 10.9.0 | 10.9.0 | |
nim_core_v2_web |
- | 10.4.0 | 10.4.0 | |
nim_core_v2_windows |
- | 10.4.0 | 10.4.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.10 | 2.4.10 | |
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.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite_android |
- | 2.4.1 | 2.4.1 | |
sqflite_common |
- | 2.5.5 | 2.5.5 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_html |
- | 2.2.4 | 2.2.4 | |
universal_io |
- | 2.2.2 | 2.2.2 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^7.2.0` on get_it does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions get_it
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.