telephone 0.0.1 telephone: ^0.0.1 copied to clipboard
`telephone` offers a simplified wrapper around `sip_ua` for Flutter, facilitating seamless integration of SIP-based VoIP capabilities with customizable widgets for handling call interfaces and states [...]
We analyzed this package 35 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
58 out of 319 API elements (18.2 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: telephone
, telephone.Call
, telephone.Call.Call
, telephone.Call.answer
, telephone.Call.direction
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:telephone/telephone.dart
that imports:package:telephone/src/telephone.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `macOS`.
Because:
package:telephone/telephone.dart
that imports:package:telephone/src/telephone.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `Web`.
Because:
package:telephone/telephone.dart
that imports:package:sip_ua/sip_ua.dart
that imports:package:sip_ua/src/sip_ua_helper.dart
that imports:package:sip_ua/src/ua.dart
that imports:package:sip_ua/src/transactions/transactions.dart
that imports:package:sip_ua/src/transactions/transaction_base.dart
that imports:package:sip_ua/src/event_manager/event_manager.dart
that imports:package:sip_ua/src/event_manager/options_events.dart
that imports:package:sip_ua/src/options.dart
that imports:package:sip_ua/src/request_sender.dart
that imports:package:sip_ua/src/transactions/non_invite_client.dart
that imports:package:sip_ua/src/event_manager/internal_events.dart
that imports:package:sip_ua/src/rtc_session/info.dart
that imports:package:sip_ua/src/rtc_session.dart
that imports:package:sip_ua/src/rtc_session/dtmf.dart
that imports:package:flutter_webrtc/flutter_webrtc.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
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:telephone/telephone.dart
that imports:package:telephone/src/telephone.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:telephone/telephone.dart
that imports:package:telephone/src/telephone.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:telephone/telephone.dart
that imports:package:sip_ua/sip_ua.dart
that imports:package:sip_ua/src/sip_ua_helper.dart
that imports:package:sip_ua/src/ua.dart
that imports:package:sip_ua/src/transports/web_socket.dart
that imports:package:sip_ua/src/transports/websocket_dart_impl.dart
that imports:package:sip_ua/src/logger.dart
that imports:package:sip_ua/src/stack_trace_nj.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: The import of 'package:sip_ua/sip_ua.dart' is unnecessary because all of the used elements are also provided by the import of '../../telephone.dart'.
lib/src/widgets/call_dialog.dart:4:8
╷
4 │ import 'package:sip_ua/sip_ua.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/call_dialog.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/widgets/incoming_call_widget.dart:69:48
╷
69 │ highlightColor: Colors.red.withOpacity(0.3),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/incoming_call_widget.dart
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_webrtc |
^0.10.8 |
0.10.8 | 0.12.5+hotfix.1 |
logger |
^2.4.0 |
2.5.0 | 2.5.0 |
package_info_plus |
^8.1.0 |
8.1.2 | 8.1.2 |
permission_handler |
^11.3.1 |
11.3.1 | 11.3.1 |
sip_ua |
^1.0.0 |
1.0.0 | 1.0.1 |
toastification |
^2.3.0 |
2.3.0 | 2.3.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
dart_webrtc |
- | 1.4.8 | 1.4.10 |
equatable |
- | 2.0.7 | 2.0.7 |
ffi |
- | 2.1.3 | 2.1.3 |
fixnum |
- | 1.1.1 | 1.1.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
iconsax_flutter |
- | 1.0.0 | 1.0.0 |
intl |
- | 0.19.0 | 0.20.1 |
js |
- | 0.7.1 | 0.7.1 |
lists |
- | 1.0.1 | 1.0.1 |
logging |
- | 1.3.0 | 1.3.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
package_info_plus_platform_interface |
- | 3.0.2 | 3.0.2 |
path |
- | 1.9.1 | 1.9.1 |
path_provider |
- | 2.1.5 | 2.1.5 |
path_provider_android |
- | 2.2.15 | 2.2.15 |
path_provider_foundation |
- | 2.4.1 | 2.4.1 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.3.0 | 2.3.0 |
pausable_timer |
- | 3.1.0+3 | 3.1.0+3 |
permission_handler_android |
- | 12.0.13 | 12.0.13 |
permission_handler_apple |
- | 9.4.5 | 9.4.5 |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 |
permission_handler_platform_interface |
- | 4.2.3 | 4.2.3 |
permission_handler_windows |
- | 0.2.1 | 0.2.1 |
platform |
- | 3.1.6 | 3.1.6 |
platform_detect |
- | 2.1.0 | 2.1.5 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
pub_semver |
- | 2.1.5 | 2.1.5 |
random_string |
- | 2.3.1 | 2.3.1 |
recase |
- | 4.1.0 | 4.1.0 |
sdp_transform |
- | 0.3.2 | 0.3.2 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
sprintf |
- | 7.0.0 | 7.0.0 |
string_scanner |
- | 1.4.1 | 1.4.1 |
synchronized |
- | 3.3.0+3 | 3.3.0+3 |
term_glyph |
- | 1.2.2 | 1.2.2 |
text |
- | 0.2.0 | 0.2.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
uuid |
- | 4.5.1 | 4.5.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 1.1.0 |
webrtc_interface |
- | 1.2.0 | 1.2.0 |
win32 |
- | 5.9.0 | 5.9.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.10.8` on flutter_webrtc does not support the stable version `0.11.0`.
Try running dart pub upgrade --major-versions flutter_webrtc
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.