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
85/ 160
pub points
2.7k
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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 1450 API elements (35.2 %) 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 22 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
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
fast_i18n any 5.12.6 5.12.6 Discontinued
file any 6.1.4 7.0.1
shell any 2.0.0 2.0.0
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
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
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.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.

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • fast_i18n.

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 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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

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

Publisher

verified publishercomm.qq.com

Weekly Downloads

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