tccc_user_call_sdk 0.0.3
tccc_user_call_sdk: ^0.0.3 copied to clipboard
Tencent Cloud Contact Center (TCCC) Flutter SDK for user-side audio outbound calls, with optional in-app call UI and DTMF.
We analyzed this package 27 hours ago, and awarded it 115 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.3").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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.
10/10 points: 20% or more of the public API has dartdoc comments
175 out of 618 API elements (28.3 %) have documentation comments.
Some symbols that are missing documentation: tccc_user_call_sdk.ErrorCode.Cgi, tccc_user_call_sdk.ErrorCode.Dtmf, tccc_user_call_sdk.ErrorCode.ErrorCode.new, tccc_user_call_sdk.ErrorCode.Rtc, tccc_user_call_sdk.ErrorCode.Session.
10/10 points: Package has an example
10/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:tccc_user_call_sdk/tccc_user_call_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:tccc_user_call_sdk/tccc_user_call_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:tccc_user_call_sdk/tccc_user_call_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:tccc_user_call_sdk/tccc_user_call_sdk.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:tccc_user_call_sdk/tccc_user_call_sdk.dartthat imports:package:tccc_user_call_sdk/src/core/tccc_user_call.dartthat imports:package:tccc_user_call_sdk/src/core/trtc/trtc_engine_facade.dartthat imports:package:tccc_user_call_sdk/src/core/media/tccc_tone_player.dartthat imports:package:tccc_user_call_sdk/src/core/log/tccc_log.dartthat imports:package:tccc_user_call_sdk/src/core/log/tccc_network_type.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:tccc_user_call_sdk/tccc_user_call_sdk.dartthat imports:package:tccc_user_call_sdk/src/core/tccc_user_call.dartthat imports:package:tccc_user_call_sdk/src/core/trtc/trtc_engine_facade.dartthat imports:package:tccc_user_call_sdk/src/core/media/tccc_tone_player.dartthat imports:package:tccc_user_call_sdk/src/core/log/tccc_log.dartthat imports:package:tccc_user_call_sdk/src/core/log/tccc_network_type.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/tccc_user_call_sdk/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle.kts`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: Use an initializing formal to assign a parameter to a field.
lib/src/core/api/session.dart:150:8
╷
150 │ milestones = milestones,
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/api/session.dart
INFO: Parameter 'failure' could be a super parameter.
lib/src/core/api/tccc_failure.dart:106:9
╷
106 │ const TcccResult.fail(TcccFailure failure) : data = null, super.fail(failure);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/api/tccc_failure.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
connectivity_plus |
>=5.0.2 <6.0.0 |
5.0.2 | 7.3.1 | |
dio |
>=5.4.0 <6.0.0 |
5.11.1 | 5.11.1 | |
intl |
>=0.17.0 <0.21.0 |
0.20.3 | 0.20.3 | |
logger |
>=2.0.0 <3.0.0 |
2.8.0 | 2.8.0 | |
path |
>=1.8.0 <2.0.0 |
1.9.1 | 1.9.1 | |
path_provider |
>=2.1.1 <3.0.0 |
2.1.6 | 2.1.6 | |
tencent_rtc_sdk |
>=12.9.1 <13.0.0 |
12.9.1 | 13.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
code_assets |
- | 2.1.0 | 2.1.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.1.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dbus |
- | 0.7.15 | 0.8.0 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
hooks |
- | 2.2.0 | 2.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jni |
- | 1.0.3 | 1.0.3 | |
jni_flutter |
- | 1.0.3 | 1.0.3 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.12.0 | 4.12.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
nm |
- | 0.5.0 | 0.6.0 | |
objective_c |
- | 9.6.0 | 9.6.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.1.0 | 7.1.0 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 7.1.0 | 7.1.0 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=5.0.2 <6.0.0` on connectivity_plus does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.
The constraint `>=12.9.1 <13.0.0` on tencent_rtc_sdk does not support the stable version `13.0.0`.
Try running dart pub upgrade --major-versions tencent_rtc_sdk 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.23.19, Flutter 3.47.4, Dart 3.13.3.
Check the analysis log for details.