adhoc_plugin 2.0.4 copy "adhoc_plugin: ^2.0.4" to clipboard
adhoc_plugin: ^2.0.4 copied to clipboard

PlatformAndroid

Flutter plugin that allows creating and managing a mobile (Android only) ad hoc network

130/ 160
pub points
40
downloads

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

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

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

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

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

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

76 out of 89 API elements (85.4 %) have documentation comments.

Some symbols that are missing documentation: adhoc_plugin, adhoc_plugin.Config.expiryTime, adhoc_plugin.Config.flood, adhoc_plugin.Config.label, adhoc_plugin.Config.public.

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 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

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

Because:

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

Because:

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

Because:

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

Because:

  • package:adhoc_plugin/adhoc_plugin.dart that declares support for platforms: Android.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:adhoc_plugin/adhoc_plugin.dart that imports:
  • package:adhoc_plugin/src/appframework/export.dart that imports:
  • package:adhoc_plugin/src/appframework/transfer_manager.dart that imports:
  • package:adhoc_plugin/src/presentation/presentation_manager.dart that imports:
  • package:adhoc_plugin/src/presentation/group/group_controller.dart that imports:
  • package:adhoc_plugin/src/presentation/crypto/crypto_engine.dart that imports:
  • dart:isolate

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.cn/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 16 issues. Showing the first 2:

WARNING: Unused import: 'package:adhoc_plugin/src/datalink/exceptions/no_connection.dart'.

lib/src/network/datalinkmanager/wrapper_network.dart:5:8

  ╷
5 │ import 'package:adhoc_plugin/src/datalink/exceptions/no_connection.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/network/datalinkmanager/wrapper_network.dart

INFO: The variable name 'GATTSendMessage' isn't a lowerCamelCase identifier.

lib/src/datalink/ble/ble_services.dart:110:23

    ╷
110 │   static Future<void> GATTSendMessage(MessageAdHoc message, String mac) async {
    │                       ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/datalink/ble/ble_services.dart

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

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

Package Constraint Compatible Latest Notes
cryptography ^2.0.1 2.7.0 2.7.0
flutter_reactive_ble ^3.1.1+1 3.1.1+1 5.4.0
json_annotation ^4.0.1 4.9.0 4.9.0
ninja_prime ^2.0.0 2.0.0 2.0.0
pointycastle ^3.0.1 3.9.1 4.0.0
uuid ^3.0.4 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
functional_data - 1.2.0 1.2.0
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
pedantic - 1.11.1 1.11.1 Discontinued
protobuf - 2.1.0 5.0.0
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0

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

Found 3 issues. Showing the first 2:

The constraint `^3.1.1+1` on flutter_reactive_ble does not support the stable version `4.0.0`.

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

The constraint `^3.0.1` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle 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.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

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

Publisher

unverified uploader

Weekly Downloads

Flutter plugin that allows creating and managing a mobile (Android only) ad hoc network

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cryptography, flutter, flutter_reactive_ble, json_annotation, ninja_prime, pointycastle, uuid

More

Packages that depend on adhoc_plugin

Packages that implement adhoc_plugin