ya_websocket 1.0.2 copy "ya_websocket: ^1.0.2" to clipboard
ya_websocket: ^1.0.2 copied to clipboard

Flutter plugin for WebSocket communication using native libraries on iOS and Android.

130/ 160
pub points
12
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

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

11 out of 18 API elements (61.1 %) have documentation comments.

Some symbols that are missing documentation: ya_websocket, ya_websocket.YaWebsocket, ya_websocket.YaWebsocket.YaWebsocket.new, ya_websocket.YaWebsocket.delegate, ya_websocket.YaWebsocket.eventChannelData.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 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:ya_websocket/ya_websocket.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:ya_websocket/ya_websocket.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:ya_websocket/ya_websocket.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:ya_websocket/ya_websocket.dart that declares support for platforms: Android, iOS.

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

It does not contain ios/ya_websocket/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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

INFO: Missing type annotation.

lib/ya_websocket.dart:12:3

   ╷
12 │   yaWebsocketDelegateOnOpen(
   │   ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Missing type annotation.

lib/ya_websocket.dart:18:3

   ╷
18 │   yaWebsocketDelegateOnConnecting(String? tag);
   │   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
vector_math - 2.2.0 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Flutter 3.41.0, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
12
downloads

Publisher

verified publisheryashi.moe

Weekly Downloads

Flutter plugin for WebSocket communication using native libraries on iOS and Android.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_web_plugins

More

Packages that depend on ya_websocket

Packages that implement ya_websocket