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

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

19
likes
110/ 160
pub points
90%
popularity

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):

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

505 out of 516 API elements (97.9 %) 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 150 issues. Showing the first 2:

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

lib/trtc_cloud.dart:1213:62

     ╷
1213 │     return TRTCScreenCaptureSourceList.fromJson(sourceInfoMap!);
     │                                                              ^
     ╵

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

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

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
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.12.0
meta - 1.12.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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.5, Flutter 3.22.1, Dart 3.4.1.

Check the analysis log for details.

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