tencent_trtc_cloud 2.7.8 copy "tencent_trtc_cloud: ^2.7.8" to clipboard
tencent_trtc_cloud: ^2.7.8 copied to clipboard

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

19
likes
90/ 140
pub points
90%
popularity

We analyzed this package 5 days ago, and awarded it 90 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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

465 out of 476 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.

10/10 points: Package has 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 149 issues. Showing the first 2:

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

lib/trtc_cloud_listener.dart:646:19

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

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

WARNING: Missing case clause for 'onLocalRecordBegin'.

lib/web/trtc_cloud_listener_web.dart:20:7

   ╷
20 │       switch (type) {
   │       ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/web/trtc_cloud_listener_web.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.8.1 4.8.1
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.14.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.5, Dart 3.3.3.

Check the analysis log for details.

19
likes
90
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