feat: update dependencies #64
Package analysis results for agora_rtc_engine
Score
130/160 points
(81.25%)
Supported platforms
- Flutter
android
ios
windows
macos
web
Details
Follow Dart file conventions (30/30)
✔ 10/10 points: Provide a valid pubspec.yaml
✔ 5/5 points: Provide a valid README.md
✔ 5/5 points: Provide a valid CHANGELOG.md
✔ 10/10 points: Use an OSI-approved license
Detected license: MIT
.
Provide documentation (20/20)
✔ 10/10 points: 20% or more of the public API has dartdoc comments
1480 out of 1618 API elements (91.5 %) have documentation comments.
Some symbols that are missing documentation: agora_rtc_engine
, agora_rtc_engine.AdvanceOptions.toJson
, agora_rtc_engine.AdvancedAudioOptions.toJson
, agora_rtc_engine.AgoraPipContentViewLayout.toDictionary
, agora_rtc_engine.AgoraPipController.AgoraPipController.new
.
✔ 10/10 points: Package has an example
Platform support (20/20)
✔ 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:agora_rtc_engine/agora_rtc_engine.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 Web
Because:
package:agora_rtc_engine/agora_rtc_engine.dart
that imports:package:agora_rtc_engine/src/agora_pip_controller.dart
that imports:package:agora_rtc_engine/src/agora_rtc_engine_ex.dart
that imports:package:agora_rtc_engine/src/binding_forward_export.dart
that imports:package:agora_rtc_engine/src/agora_rtc_engine_ext.dart
that imports:package:agora_rtc_engine/src/impl/media_player_impl.dart
that imports:package:agora_rtc_engine/src/render/media_player_controller.dart
that imports:package:agora_rtc_engine/src/render/video_view_controller.dart
that imports:package:agora_rtc_engine/src/impl/video_view_controller_impl.dart
that imports:package:agora_rtc_engine/src/impl/platform/global_video_view_controller.dart
that imports:package:agora_rtc_engine/src/impl/platform/global_video_view_controller_platform.dart
that imports:package:agora_rtc_engine/src/impl/agora_rtc_engine_impl.dart
that imports:dart:io
❌ 0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:agora_rtc_engine/agora_rtc_engine.dart
that imports:package:agora_rtc_engine/src/agora_pip_controller.dart
that imports:package:agora_rtc_engine/src/agora_rtc_engine_ex.dart
that imports:package:agora_rtc_engine/src/binding_forward_export.dart
that imports:package:agora_rtc_engine/src/agora_rtc_engine_ext.dart
that imports:package:agora_rtc_engine/src/impl/media_player_impl.dart
that imports:package:agora_rtc_engine/src/render/media_player_controller.dart
that imports:package:agora_rtc_engine/src/render/video_view_controller.dart
that imports:package:agora_rtc_engine/src/impl/video_view_controller_impl.dart
that imports:package:agora_rtc_engine/src/impl/platform/global_video_view_controller.dart
that imports:package:agora_rtc_engine/src/impl/platform/global_video_view_controller_platform.dart
that imports:package:agora_rtc_engine/src/impl/agora_rtc_engine_impl.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.
❌ 0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/agora_rtc_engine/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
Pass static analysis (30/50)
❌ 30/50 points: code has no errors, warnings, lints, or formatting issues
Found 70 issues. Showing the first 2:
WARNING: Unused import: '/src/_serializable.dart'.
lib/src/agora_h265_transcoder.dart:1:8
╷
1 │ import '/src/_serializable.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/agora_h265_transcoder.dart
WARNING: Unused import: '/src/_serializable.dart'.
lib/src/agora_media_engine.dart:1:8
╷
1 │ import '/src/_serializable.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/agora_media_engine.dart
Support up-to-date dependencies (30/40)
❌ 0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
>=2.8.2 |
2.13.0 | 2.13.0 | |
ffi |
>=1.1.2 |
2.1.4 | 2.1.4 | |
iris_method_channel |
>=2.2.0 |
2.2.2 | 2.2.2 | |
js |
>=0.6.3 |
0.7.2 | 0.7.2 | Discontinued |
json_annotation |
^4.4.0 |
4.9.0 | 4.9.0 | |
meta |
^1.7.0 |
1.16.0 | 1.17.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
vector_math |
- | 2.1.4 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
liability.
Consider migrating away from these dependencies:
- js.
✔ 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.
Versions
- Pana: 0.22.21
- Dart: 3.7.2
- Flutter: 3.29.3