tencent_im_base 2.0.1 copy "tencent_im_base: ^2.0.1" to clipboard
tencent_im_base: ^2.0.1 copied to clipboard

The base to Tencent Cloud Chat.

2
likes
95/ 160
pub points
2.7k
downloads

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

Failed report section
Follow Dart file conventions
5 / 30trigger folding of the section

Failed check 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 check 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.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

510 out of 1445 API elements (35.3 %) have documentation comments.

Some symbols that are missing documentation: Utils, Utils.Utils, Utils.Utils.Utils.new, Utils.Utils.getInitResult, color.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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

Failed check 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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 12 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

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

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

Package Constraint Compatible Latest Notes
file any 6.1.4 7.0.1
tencent_chat_i18n_tool ^2.1.3+2 2.3.8 2.3.8
tencent_cloud_chat_sdk ^5.1.7 5.2.6 8.5.6864+6
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 82.0.0 82.0.0
analyzer - 7.4.2 7.4.2
async - 2.13.0 2.13.0
build - 2.4.2 2.4.2
characters - 1.4.0 1.4.0
collection - 1.19.1 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 Discontinued
glob - 2.1.3 2.1.3
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
tencent_im_sdk_plugin_platform_interface - 0.3.25 1.0.16
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.5
watcher - 1.1.1 1.1.1
yaml - 3.1.3 3.1.3

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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
95
points
2.7k
downloads

Publisher

verified publishercomm.qq.com

Weekly Downloads

The base to Tencent Cloud Chat.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

file, flutter, tencent_chat_i18n_tool, tencent_cloud_chat_sdk

More

Packages that depend on tencent_im_base