bluetooth_manager 2.0.1
bluetooth_manager: ^2.0.1 copied to clipboard
A simple plugin to manage Bluetooth, turning on and off and getting Bluetooth state.
We analyzed this package 9 days ago, and awarded it 130 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
32 out of 43 API elements (74.4 %) have documentation comments.
Some symbols that are missing documentation: bluetooth_manager, bluetooth_manager.BluetoothManager.BluetoothManager.new, bluetooth_manager_android, bluetooth_manager_android.BluetoothManagerAndroid.BluetoothManagerAndroid.new, bluetooth_manager_ios.
10/10 points: Package has an example
10/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:bluetooth_manager/bluetooth_manager.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:bluetooth_manager/bluetooth_manager.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:bluetooth_manager/bluetooth_manager.dartthat declares support for platforms:Android,iOS,macOS.
Swift Package Manager support:
Package does not support the Swift Package Manager on macOS
The package does not contain macos/bluetooth_manager/Package.swift.
Package does not support the Swift Package Manager on iOS
The package does not contain ios/bluetooth_manager/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/path/android/bluetooth_manager_android.dart:22:7
╷
22 │ return enumFromString(BluetoothState.values, result) ??
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/path/android/bluetooth_manager_android.dart
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/path/android/bluetooth_manager_android.dart:37:7
╷
37 │ return enumFromString(ActionResponse.values, result) ??
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/path/android/bluetooth_manager_android.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
permission_handler |
^12.0.0 |
12.0.3 | 13.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler_android |
- | 13.0.1 | 14.0.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.0 | 4.4.0 | |
permission_handler_windows |
- | 0.2.2 | 0.2.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^12.0.0` on permission_handler does not support the stable version `13.0.0`, that was published 18 days ago.
When permission_handler is 30 days old, this package will no longer be awarded points in this category.
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.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.