tencent_im_sdk_plugin_web 0.3.26 copy "tencent_im_sdk_plugin_web: ^0.3.26" to clipboard
tencent_im_sdk_plugin_web: ^0.3.26 copied to clipboard

Platformweb

The web implementation of tencent_im_sdk_plugin.

2
likes
95/ 160
pub points
80%
popularity

We analyzed this package 46 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.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

5/5 points: Provide a valid README.md

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.

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

108 out of 199 API elements (54.3 %) have documentation comments.

Some symbols that are missing documentation: tencent_im_sdk_plugin_web, tencent_im_sdk_plugin_web.TencentImSDKPluginWeb, tencent_im_sdk_plugin_web.TencentImSDKPluginWeb.TencentImSDKPluginWeb, tencent_im_sdk_plugin_web.TencentImSDKPluginWeb.accept, tencent_im_sdk_plugin_web.TencentImSDKPluginWeb.addConversationListener.

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

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:tencent_im_sdk_plugin_web/tencent_im_sdk_plugin_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:tencent_im_sdk_plugin_web/tencent_im_sdk_plugin_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:tencent_im_sdk_plugin_web/tencent_im_sdk_plugin_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:tencent_im_sdk_plugin_web/tencent_im_sdk_plugin_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:tencent_im_sdk_plugin_web/tencent_im_sdk_plugin_web.dart that declares support for platforms: Web.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:tencent_im_sdk_plugin_web/tencent_im_sdk_plugin_web.dart that imports:
  • package:tencent_im_sdk_plugin_web/src/manager/v2_tim_message_manager.dart that imports:
  • package:tencent_im_sdk_plugin_web/src/manager/im_sdk_plugin_js.dart that imports:
  • package:tencent_im_sdk_plugin_web/src/models/v2_tim_init_sdk.dart that imports:
  • package:js/js.dart that imports:
  • dart:js

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 14 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

lib/src/manager/v2_tim_manager.dart:591:54

    ╷
591 │           final listinerName = formatedGroupNoticeMsg!.listennerName;
    │                                                      ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/manager/v2_tim_manager.dart

WARNING: The value of the local variable 'user' isn't used.

lib/src/manager/v2_tim_signaling_manager.dart:82:42

   ╷
82 │               V2TimValueCallback<String> user = await TencentImSDKPluginWeb().getLoginUser();
   │                                          ^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/manager/v2_tim_signaling_manager.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
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
js ^0.6.2 0.6.7 0.7.1
mime_type ^1.0.0 1.0.1 1.0.1
path ^1.8.0 1.9.1 1.9.1
tencent_im_sdk_plugin_platform_interface ^1.0.14 1.0.16 1.0.16
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

The constraint `^0.6.2` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js 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.