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

The I18N tool, for Tencent Cloud Chat temporarily.

2
likes
75/ 160
pub points
82%
popularity

We analyzed this package 9 hours ago, and awarded it 75 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

Links in `README.md` should be secure. 2 links are insecure.

README.md:87:4

   ╷
87 │ <p><a href="id:code"></a></p>
   │    ^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

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

510 out of 1354 API elements (37.7 %) 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 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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 17 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
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
fast_i18n any 5.12.6 5.12.6
file any 6.1.4 7.0.1
flutter flutter 0.0.0 0.0.0
shell any 2.0.0 2.0.0
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
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
process - 4.2.4 5.0.3
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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 42 errors:

  • URI_DOES_NOT_EXIST - bin/generate_i18n.dart:3:8 - Target of URI doesn't exist: 'package:fast_i18n/src/builder/build_config_builder.dart'.
  • URI_DOES_NOT_EXIST - bin/generate_i18n.dart:4:8 - Target of URI doesn't exist: 'package:fast_i18n/src/decoder/base_decoder.dart'.
  • URI_DOES_NOT_EXIST - bin/generate_i18n.dart:5:8 - Target of URI doesn't exist: 'package:fast_i18n/src/decoder/csv_decoder.dart'.

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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

2
likes
75
pub points
82%
popularity

Publisher

verified publishercomm.qq.com

The I18N tool, for Tencent Cloud Chat temporarily.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

fast_i18n, file, flutter, shell, tencent_cloud_chat_sdk

More

Packages that depend on tencent_im_base