flutter_tencent_im 1.0.1 copy "flutter_tencent_im: ^1.0.1" to clipboard
flutter_tencent_im: ^1.0.1 copied to clipboard

Plug-in tencent im sdk

55/ 160
pub points
30
downloads

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

Failed report section
Follow Dart file conventions
15 / 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.

Homepage URL doesn't exist.

At the time of the analysis http://git.7guoyouxi.com/LuckyLiveP/tencent_Im.git was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

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

86 out of 258 API elements (33.3 %) have documentation comments.

Some symbols that are missing documentation: IGroupMsgListener, IGroupMsgListener.IGroupMsgListener, IGroupMsgListener.IGroupMsgListener.IGroupMsgListener.new, IGroupMsgListener.IGroupMsgListener.onReceiveNewMessage, IGroupMsgModel.

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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:flutter_tencent_im/com.tencent.imv2/IMManager.dart that imports:
  • package:tencent_cloud_chat_sdk/tencent_im_sdk_plugin.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:flutter_tencent_im/com.tencent.imv2/IMManager.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

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

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

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

Found 21 issues. Showing the first 2:

ERROR: The getter 'headline4' isn't defined for the type 'TextTheme'.

lib/demo/main.dart:264:50

    ╷
264 │               style: Theme.of(context).textTheme.headline4,
    │                                                  ^^^^^^^^^
    ╵

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

WARNING: Unused import: 'dart:developer'.

lib/com.tencent.imv2/IMMessageDispatcher.dart:1:8

  ╷
1 │ import 'dart:developer';
  │        ^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/com.tencent.imv2/IMMessageDispatcher.dart

Failed report section
Support up-to-date dependencies
10 / 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
convert ^3.0.2 3.1.2 3.1.2
cupertino_icons ^1.0.2 1.0.8 1.0.8
tencent_cloud_chat_sdk ^5.0.7 5.2.6 8.7.7201
tencent_im_sdk_plugin_platform_interface ^0.3.10 0.3.25 1.0.16
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
plugin_platform_interface - 2.1.8 2.1.8
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
vector_math - 2.2.0 2.2.0

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

The constraint `^5.0.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.

The constraint `^0.3.10` on tencent_im_sdk_plugin_platform_interface does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions tencent_im_sdk_plugin_platform_interface to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_GETTER - lib/demo/main.dart:264:50 - The getter 'headline4' isn't defined for the type 'TextTheme'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
55
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

Plug-in tencent im sdk

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

convert, cupertino_icons, flutter, tencent_cloud_chat_sdk, tencent_im_sdk_plugin_platform_interface

More

Packages that depend on flutter_tencent_im