tencent_trtc_cloud 2.7.9-stable copy "tencent_trtc_cloud: ^2.7.9-stable" to clipboard
tencent_trtc_cloud: ^2.7.9-stable copied to clipboard

With TRTC, you can quickly develop cost-effective, low-latency, and high-quality interactive audio/video services.

19
likes
80/ 140
pub points
90%
popularity

We analyzed this package 36 hours ago, and awarded it 80 pub points (of a possible 140):

failed
Follow Dart file conventions
10 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: tencent_trtc_cloud,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: tencent_trtc_cloud.

5/5 points: Provide a valid README.md

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

463 out of 474 API elements (97.7 %) have documentation comments.

Some symbols that are missing documentation: trtc_cloud, trtc_cloud.TRTCCloud.getPlatformVersion, trtc_cloud.TRTCCloud.listener, trtc_cloud_def, trtc_cloud_def.TRTCAudioRecordingParams.filePath.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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:tencent_trtc_cloud/trtc_cloud.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 Android

Because:

  • package:tencent_trtc_cloud/web/trtc_cloud_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform iOS

Because:

  • package:tencent_trtc_cloud/web/trtc_cloud_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform Windows

Because:

  • package:tencent_trtc_cloud/web/trtc_cloud_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform macOS

Because:

  • package:tencent_trtc_cloud/web/trtc_cloud_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform Web

Because:

  • package:tencent_trtc_cloud/trtc_cloud.dart that imports:
  • package:tencent_trtc_cloud/trtc_cloud_listener.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 148 issues. Showing the first 2:

WARNING: This function has a nullable return type of 'FutureOr

lib/trtc_cloud_listener.dart:635:62

    ╷
635 │       _basicMessageChannel.setMessageHandler((message) async {
    │                                                              ^
    ╵

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

WARNING: The operand can't be null, so the condition is always 'true'.

lib/trtc_cloud_listener.dart:645:19

    ╷
645 │     if (arguments != null) {
    │                   ^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger 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
json_annotation ^4.0.0 4.9.0 4.9.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.15.0
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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

19
likes
80
pub points
90%
popularity

Publisher

verified publishertrtc.io

With TRTC, you can quickly develop cost-effective, low-latency, and high-quality interactive audio/video services.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter, flutter_web_plugins, js, json_annotation

More

Packages that depend on tencent_trtc_cloud