d2pc_lib 1.0.4 copy "d2pc_lib: ^1.0.4" to clipboard
d2pc_lib: ^1.0.4 copied to clipboard

Flutter library to do 'device to pc' communication. This library provide APIs for establishing a connection, sending and receiving data, and managing the communication process between the device and the PC.

130/ 160
pub points
88
downloads

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

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

Failed check 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.

Repository URL doesn't exist.

At the time of the analysis https://github.com/stackmod/d2pc_lib was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 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.

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

55 out of 92 API elements (59.8 %) have documentation comments.

Some symbols that are missing documentation: audio_receiver, audio_receiver.AudioReceiver.audioChunkPlayer, audio_receiver.AudioReceiver.numChannels, audio_receiver.AudioReceiver.port, audio_receiver.AudioReceiver.sampleRates.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ Windows

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:d2pc_lib/d2pc_lib.dart that declares support for platforms: Android, Windows.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:d2pc_lib/d2pc_lib.dart that declares support for platforms: Android, Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:d2pc_lib/d2pc_lib.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.

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 5 issues. Showing the first 2:

/tmp/pana_ZIGXFH/lib/audio/audio_receiver.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_ZIGXFH/lib/audio/audio_sender.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

Package Constraint Compatible Latest Notes
path_provider ^2.1.4 2.1.5 2.1.5
permission_handler ^12.0.1 12.0.1 12.0.1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
record ^6.0.0 6.1.1 6.1.1
web_socket_channel ^3.0.1 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
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
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_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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
permission_handler_android - 13.0.1 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.6 3.1.6
record_android - 1.4.2 1.4.2
record_ios - 1.1.2 1.1.2
record_linux - 1.2.1 1.2.1
record_macos - 1.1.1 1.1.1
record_platform_interface - 1.4.0 1.4.0
record_web - 1.2.0 1.2.0
record_windows - 1.0.7 1.0.7
sprintf - 7.0.0 7.0.0
stream_channel - 2.1.4 2.1.4
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
xdg_directories - 1.1.0 1.1.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.22.23, Flutter 3.35.3, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
88
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter library to do 'device to pc' communication. This library provide APIs for establishing a connection, sending and receiving data, and managing the communication process between the device and the PC.

Homepage
Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

flutter, path_provider, permission_handler, plugin_platform_interface, record, web_socket_channel

More

Packages that depend on d2pc_lib

Packages that implement d2pc_lib