flutter_ion 1.0.0
flutter_ion: ^1.0.0 copied to clipboard
Ion SDK for flutter, For live broadcast, video conference, etc., support mobile/deskop/web.
We analyzed this package 2 days ago, and awarded it 90 pub points (of a possible 160):
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
.
0/10 points: 20% or more of the public API has dartdoc comments
15 out of 291 API elements (5.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: flutter_ion
, flutter_ion.API_CHANNEL
, flutter_ion.Client
, flutter_ion.Client.Client.new
, flutter_ion.Client.close
.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:flutter_ion/flutter_ion.dart
that imports:package:flutter_ion/src/stream.dart
that imports:package:flutter_ion/src/client.dart
that imports:package:flutter_ion/src/signal/signal.dart
that imports:package:flutter_webrtc/flutter_webrtc.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
Package does not support platform `Web`.
Because:
package:flutter_ion/flutter_ion.dart
that imports:package:flutter_ion/src/stream.dart
that imports:package:flutter_ion/src/client.dart
that imports:package:flutter_ion/src/signal/signal.dart
that imports:package:flutter_webrtc/flutter_webrtc.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 34 issues. Showing the first 2:
ERROR: Missing concrete implementation of 'setter abstract class ClientConnection.onStateChanged'.
lib/src/signal/grpc-web/transport/websocket_transport.dart:112:7
╷
112 │ class WebSocketClientConnection extends ClientConnection {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/signal/grpc-web/transport/websocket_transport.dart
WARNING: Braces unnecessarily wrap this expression in a set literal.
lib/src/client.dart:47:42
╷
47 │ pc.onIceConnectionState = (state) => {
│ ┌──────────────────────────────────────────^
48 │ │ if (pc.iceConnectionState ==
49 │ │ RTCIceConnectionState.RTCIceConnectionStateDisconnected)
50 │ │ {
51 │ │ /* TODO: implement pc.restartIce for flutter_webrtc.
52 │ │ if (pc.restartIce) {
53 │ │ // this will trigger onNegotiationNeeded
54 │ │ pc.restartIce();
55 │ │ }*/
56 │ │ }
57 │ │ };
│ └─────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/client.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
events2 |
^1.0.0 |
1.0.0 | 1.0.0 | |
flutter_webrtc |
^0.7.0 |
0.7.1 | 0.14.2 | |
grpc |
^3.0.0 |
3.2.4 | 4.1.0 | |
protobuf |
^2.0.0 |
2.1.0 | 4.1.0 | |
sdp_transform |
^0.3.2 |
0.3.2 | 0.3.2 | |
uuid |
^3.0.4 |
3.0.7 | 4.5.1 | |
web_socket_channel |
^2.1.0 |
2.4.5 | 3.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
google_identity_services_web |
- | 0.3.3+1 | 0.3.3+1 | |
googleapis_auth |
- | 1.6.0 | 2.0.0 | |
http |
- | 1.4.0 | 1.4.0 | |
http2 |
- | 2.3.1 | 2.3.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
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.1.4 | 2.2.0 | |
web |
- | 0.5.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 5 issues. Showing the first 2:
The constraint `^0.7.0` on flutter_webrtc does not support the stable version `0.8.0`.
Try running dart pub upgrade --major-versions flutter_webrtc
to update the constraint.
The constraint `^3.0.0` on grpc does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions grpc
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.21
, Dart 3.8.1
.
Check the analysis log for details.