d2pc_lib 1.0.2 copy "d2pc_lib: ^1.0.2" to clipboard
d2pc_lib: ^1.0.2 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.

0
likes
120/ 160
pub points
290
downloads

We analyzed this package 3 days ago, and awarded it 120 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_UQHSLR/lib/audio/audio_receiver.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

To format your files run: dart format .

Partially passed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Partially passed check 0/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 ^10.0.0 10.4.5 12.0.0+1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
record ^5.1.1 5.2.1 6.0.0
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.0
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.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
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
permission_handler_android - 10.3.6 13.0.1
permission_handler_apple - 9.1.4 9.4.7
permission_handler_platform_interface - 3.12.0 4.3.0
permission_handler_windows - 0.1.3 0.2.1
platform - 3.1.6 3.1.6
record_android - 1.3.1 1.3.1
record_darwin - 1.2.2 1.2.2 Discontinued
record_linux - 0.7.2 1.0.0
record_platform_interface - 1.2.0 1.2.0
record_web - 1.1.6 1.1.6
record_windows - 1.0.5 1.0.5
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.1.4 2.1.5
web - 1.1.1 1.1.1
web_socket - 1.0.0 1.0.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 `^10.0.0` on permission_handler does not support the stable version `11.0.0`.

Try running dart pub upgrade --major-versions permission_handler to update the constraint.

The constraint `^5.1.1` on record does not support the stable version `6.0.0`, that was published 26 days ago.

When record is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions record to update the constraint.

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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
290
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