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

1
likes
110/ 140
pub points
0%
popularity

We analyzed this package 15 hours ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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
Pass static analysis
30 / 50trigger folding of the section

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
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
cryptography ^2.0.1 2.7.0 2.7.0
flutter flutter 0.0.0 0.0.0
flutter_reactive_ble ^3.1.1+1 3.1.1+1 5.3.1
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.0 3.9.0
uuid ^3.0.4 3.0.7 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
fixnum - 1.1.0 1.1.0
functional_data - 1.2.0 1.2.0
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
pedantic - 1.11.1 1.11.1
protobuf - 2.1.0 3.1.0
sky_engine - 0.0.99 0.0.99
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4

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

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.4` on uuid does not support the stable version `4.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

1
likes
110
pub points
0%
popularity

Publisher

unverified uploader

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