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

discontinued

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

60/ 160
pub points
3.62k
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

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

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.

Passed check 5/5 points: Provide a valid README.md

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

542 out of 634 API elements (85.5 %) have documentation comments.

Some symbols that are missing documentation: Simulation_js, Simulation_js.allowInterop, Simulation_js.anonymous, TrtcWrapper, deprecated_trtc_cloud.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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/core/event_center.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/core/key_metrics_stats.dart that imports:
  • package:tencent_trtc_cloud/trtc_cloud.dart that imports:
  • package:tencent_trtc_cloud/tx_audio_effect_manager.dart that imports:
  • package:tencent_trtc_cloud/trtc_cloud_listener.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 236 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'dart:js_util'.

lib/web/trtc_cloud_web.dart:4:8

  ╷
4 │ import 'dart:js_util';
  │        ^^^^^^^^^^^^^^
  ╵

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

ERROR: The method 'promiseToFuture' isn't defined for the type 'TencentTRTCCloudWeb'.

lib/web/trtc_cloud_web.dart:162:29

    ╷
162 │         String json = await promiseToFuture(_trtcCloudWrapper!.getDevicesList(args));
    │                             ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/web/trtc_cloud_web.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
js ^0.6.2 0.6.7 0.7.2 Discontinued
json_annotation ^4.0.0 4.9.0 4.9.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
vector_math - 2.2.0 2.2.0

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.

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:

  • js.

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 4 errors:

  • URI_DOES_NOT_EXIST - lib/web/trtc_cloud_web.dart:4:8 - Target of URI doesn't exist: 'dart:js_util'.
  • UNDEFINED_METHOD - lib/web/trtc_cloud_web.dart:162:29 - The method 'promiseToFuture' isn't defined for the type 'TencentTRTCCloudWeb'.
  • UNDEFINED_METHOD - lib/web/trtc_cloud_web.dart:166:16 - The method 'promiseToFuture' isn't defined for the type 'TencentTRTCCloudWeb'.

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.23.3, Flutter 3.38.2, Dart 3.10.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
22
likes
60
points
3.62k
downloads

Publisher

verified publishertrtc.io

Weekly Downloads

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

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, js, json_annotation

More

Packages that depend on tencent_trtc_cloud

Packages that implement tencent_trtc_cloud