web_view_ble 0.1.0
web_view_ble: ^0.1.0 copied to clipboard
Add Bluetooth Low Energy Support in WebView Flutter for Android and iOS
We analyzed this package 2 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
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.
10/10 points: 20% or more of the public API has dartdoc comments
3 out of 5 API elements (60.0 %) have documentation comments.
Some symbols that are missing documentation: web_view_ble, web_view_ble.WebViewBle.WebViewBle.new.
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:web_view_ble/web_view_ble.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:web_view_ble/web_view_ble.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:web_view_ble/web_view_ble.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:web_view_ble/web_view_ble.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:web_view_ble/web_view_ble.dartthat imports:package:web_view_ble/src/web_view_ble.dartthat imports:package:web_view_ble/src/services/ble_manager.dartthat imports:package:web_view_ble/src/widgets/scan_dialog.dartthat imports:package:web_view_ble/src/models/web_ble_device.dartthat imports:package:universal_ble/universal_ble.dartthat imports:package:universal_ble/src/universal_ble.dartthat imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dartthat imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:web_view_ble/web_view_ble.dartthat imports:package:web_view_ble/src/web_view_ble.dartthat imports:package:web_view_ble/src/services/ble_manager.dartthat imports:package:web_view_ble/src/widgets/scan_dialog.dartthat imports:package:web_view_ble/src/models/web_ble_device.dartthat imports:package:universal_ble/universal_ble.dartthat imports:package:universal_ble/src/universal_ble.dartthat imports:package:universal_ble/src/universal_ble_web/universal_ble_web.dartthat imports:package:flutter_web_bluetooth/flutter_web_bluetooth.dartthat declares support for platforms:Web.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Missing type annotation.
lib/src/services/ble_manager.dart:150:27
╷
150 │ Future<void> disconnect(deviceId) => UniversalBle.disconnect(deviceId);
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/services/ble_manager.dart
INFO: Missing type annotation.
lib/src/services/ble_manager.dart:152:41
╷
152 │ Future<List<String>> discoverServices(deviceId) async {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/services/ble_manager.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_inappwebview |
^6.0.0 |
6.1.5 | 6.1.5 | |
universal_ble |
^0.11.0 |
0.11.1 | 1.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
bluez |
- | 0.8.3 | 0.8.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.5 | 2.1.5 | |
flutter_inappwebview_android |
- | 1.1.3 | 1.1.3 | |
flutter_inappwebview_internal_annotations |
- | 1.2.0 | 1.2.0 | |
flutter_inappwebview_ios |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_macos |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_platform_interface |
- | 1.3.0+1 | 1.3.0+1 | |
flutter_inappwebview_web |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_windows |
- | 0.6.0 | 0.6.0 | |
flutter_web_bluetooth |
- | 0.2.4 | 1.1.0 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.11.0` on universal_ble does not support the stable version `0.12.0`.
Try running dart pub upgrade --major-versions universal_ble 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.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.