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

The base to Tencent Cloud Chat.

2
likes
95/ 160
pub points
82%
popularity

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

failed
Follow Dart file conventions
5 / 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.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

522 out of 1490 API elements (35.0 %) 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.

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: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 does not support 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/tencent_cloud_chat_sdk_platform_interface.dart that imports:
  • package:tencent_cloud_chat_sdk/tencent_cloud_chat_sdk_method_channel.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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/tencent_cloud_chat_sdk_platform_interface.dart that imports:
  • package:tencent_cloud_chat_sdk/tencent_cloud_chat_sdk_method_channel.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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
Pass static analysis
30 / 50trigger folding of the section

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

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
file any 6.1.4 7.0.1
flutter flutter 0.0.0 0.0.0
tencent_chat_i18n_tool ^2.3.0 2.3.6 2.3.6
tencent_cloud_chat_sdk ^7.7.5297 7.9.5695 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
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
js - 0.6.7 0.7.1
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
mime_type - 1.0.1 1.0.1
package_config - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
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
platform - 3.1.6 3.1.6
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
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
watcher - 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.

The constraint `^7.7.5297` on tencent_cloud_chat_sdk does not support the stable version `8.0.5895`.

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.