tencent_im_base 2.0.1 tencent_im_base: ^2.0.1 copied to clipboard
The base to Tencent Cloud Chat.
We analyzed this package 3 days ago, and awarded it 95 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 60 to 180 characters to describe the package, what it does, and its target use case.
0/5 points: Provide a valid README.md
`README.md` is empty.
The README.md
file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
510 out of 1349 API elements (37.8 %) have documentation comments.
Some symbols that are missing documentation: Utils
, Utils.Utils
, Utils.Utils.Utils
, Utils.Utils.getInitResult
, color
.
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:tencent_im_base/tencent_im_base.dart
that imports:package:tencent_cloud_chat_sdk/tencent_im_sdk_plugin.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
,Web
.
Package not compatible with platform Web
Because:
package:tencent_im_base/tencent_im_base.dart
that imports:package:tencent_cloud_chat_sdk/tencent_im_sdk_plugin.dart
that imports:package:tencent_cloud_chat_sdk/manager/v2_tim_manager.dart
that imports:package:tencent_cloud_chat_sdk/manager/v2_tim_offline_push_manager.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:tencent_im_base/tencent_im_base.dart
that imports:package:tencent_cloud_chat_sdk/tencent_im_sdk_plugin.dart
that imports:package:tencent_cloud_chat_sdk/manager/v2_tim_manager.dart
that imports:package:tencent_cloud_chat_sdk/manager/v2_tim_offline_push_manager.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 8 issues. Showing the first 2:
WARNING: Unused import: 'package:flutter/cupertino.dart'.
lib/base_widgets/tim_callback.dart:1:8
╷
1 │ import 'package:flutter/cupertino.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/base_widgets/tim_callback.dart
WARNING: The value of the local variable 'onFlutterError' isn't used.
lib/base_widgets/tim_state.dart:38:11
╷
38 │ final onFlutterError = FlutterError.onError;
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/base_widgets/tim_state.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
file |
any |
6.1.4 | 7.0.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
tencent_chat_i18n_tool |
^2.1.3+2 |
2.3.6 | 2.3.6 |
tencent_cloud_chat_sdk |
^5.1.7 |
5.2.6 | 8.2.6325+4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 72.0.0 | 77.0.0 |
_macros |
- | 0.3.2 | 0.3.2 |
analyzer |
- | 6.7.0 | 7.0.0 |
async |
- | 2.12.0 | 2.12.0 |
build |
- | 2.4.1 | 2.4.1 |
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
csv |
- | 5.1.1 | 6.0.0 |
fast_i18n |
- | 5.12.6 | 5.12.6 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
glob |
- | 2.1.2 | 2.1.2 |
json_annotation |
- | 4.9.0 | 4.9.0 |
logging |
- | 1.3.0 | 1.3.0 |
macros |
- | 0.1.2-main.4 | 0.1.3-main.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
package_config |
- | 2.1.0 | 2.1.0 |
path |
- | 1.9.1 | 1.9.1 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
pub_semver |
- | 2.1.4 | 2.1.4 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
tencent_im_sdk_plugin_platform_interface |
- | 0.3.25 | 1.0.16 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
uuid |
- | 3.0.7 | 4.5.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
watcher |
- | 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
.
The constraint `^5.1.7` on tencent_cloud_chat_sdk does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions tencent_cloud_chat_sdk
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.15
, Flutter 3.24.5
, Dart 3.5.4
.
Check the analysis log for details.