lb_bluetooth 1.3.0
lb_bluetooth: ^1.3.0 copied to clipboard
Logbot bluetooth HPS client to connect and setup an IoT via a local bluetooth connection
We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 160):
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.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting lb_bluetooth... Discovering libraries... Linking elements... Precaching local docs for 1255225 elements... Initialized dartdoc with 1319 libraries Generating docs for library lb_bluetooth.dart from package:lb_bluetooth/lb_bluetooth.dart... Generating docs for library api.dart from package:lb_bluetooth/api.dart... Documented 2 public libraries in 57.5 seconds ERR: warning: logbot.sdk.bluetooth has no library level documentation comments from logbot.sdk.bluetooth: (file:///tmp/pana_QCGQLJ/lib/lb_bluetooth.dart:1:1) warning: logbot.sdk.bluetooth has no library level documentation comments from logbot.sdk.bluetooth: (file:///tmp/pana_QCGQLJ/lib/api.dart:1:1) error: file already written at "logbot.sdk.bluetooth/index.html" for symbol logbot.sdk.bluetooth: (file:///tmp/pana_QCGQLJ/lib/api.dart:1:1) conflicting with file already generated by logbot.sdk.bluetooth: (file:///tmp/pana_QCGQLJ/lib/lb_bluetooth.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'logbot.sdk.bluetooth' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library [16 more lines]
10/10 points: Package has an example
20/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:lb_bluetooth/lb_bluetooth.dartthat imports:package:lb_bluetooth/api.dartthat imports:package:lb_bluetooth/src/services/logbot_ble_device_interactor.dartthat imports:package:flutter_reactive_ble/flutter_reactive_ble.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:lb_bluetooth/lb_bluetooth.dartthat imports:package:lb_bluetooth/api.dartthat imports:package:lb_bluetooth/src/services/logbot_ble_device_interactor.dartthat imports:package:flutter_reactive_ble/flutter_reactive_ble.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:lb_bluetooth/lb_bluetooth.dartthat imports:package:lb_bluetooth/api.dartthat imports:package:lb_bluetooth/src/services/logbot_ble_device_interactor.dartthat imports:package:flutter_reactive_ble/flutter_reactive_ble.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:lb_bluetooth/lb_bluetooth.dartthat imports:package:lb_bluetooth/api.dartthat imports:package:lb_bluetooth/src/services/logbot_ble_device_interactor.dartthat imports:package:flutter_reactive_ble/flutter_reactive_ble.dartthat declares support for platforms:Android,iOS.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/services/logbot_ble_device_connector.dart:88:7
╷
88 │ return completer.future;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/services/logbot_ble_device_connector.dart
WARNING: The stack trace variable '_' isn't used and can be removed.
lib/src/services/logbot_ble_device_interactor.dart:61:30
╷
61 │ } on Exception catch (e, _) {
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/services/logbot_ble_device_interactor.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_reactive_ble |
^5.4.2 |
5.5.0 | 5.5.0 | |
http |
^1.6.0 |
1.6.0 | 1.6.0 | |
intl |
^0.20.2 |
0.20.3 | 0.20.3 | |
lb_commons |
^1.3.0 |
1.3.0 | 1.3.0 | |
meta |
^1.17.0 |
1.19.0 | 1.19.0 | |
permission_handler |
^12.0.1 |
12.0.3 | 13.0.2 | |
provider |
^6.1.5+1 |
6.1.5+1 | 6.1.5+1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
functional_data |
- | 1.2.0 | 1.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logger |
- | 2.8.0 | 2.8.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler_android |
- | 13.0.1 | 14.1.0 | |
permission_handler_apple |
- | 9.6.1 | 9.6.1 | |
permission_handler_html |
- | 0.1.4+1 | 0.1.4+1 | |
permission_handler_platform_interface |
- | 4.4.1 | 4.4.1 | |
permission_handler_windows |
- | 0.2.2 | 0.2.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
protobuf |
- | 6.1.0 | 6.1.0 | |
reactive_ble_mobile |
- | 5.5.0 | 5.5.0 | |
reactive_ble_platform_interface |
- | 5.5.0 | 5.5.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^12.0.1` on permission_handler does not support the stable version `13.0.0`.
Try running dart pub upgrade --major-versions permission_handler to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Dart 3.13.1.
Check the analysis log for details.