opticonnect_sdk 1.0.17 copy "opticonnect_sdk: ^1.0.17" to clipboard
opticonnect_sdk: ^1.0.17 copied to clipboard

OptiConnect SDK integrates with Opticon's BLE OPN-2500 and OPN-6000 scanners, enabling Bluetooth connection management, data streaming, and command control.

1
likes
140/ 160
pub points
104
downloads

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

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

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/OpticonOSEDevelopment/opticonnect_sdk_flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

282 out of 977 API elements (28.9 %) have documentation comments.

Some symbols that are missing documentation: constants, constants.aimCodeIdentification, constants.aimingDisabled, constants.aimingEnabled, constants.alternatingFloodlight.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:opticonnect_sdk/constants.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `Web`.

Because:

  • package:opticonnect_sdk/constants.dart that declares support for platforms: Android, iOS, Windows, macOS.

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:opticonnect_sdk/opticonnect.dart that imports:
  • package:opticonnect_sdk/src/services/scanner_settings/settings_handler.dart that imports:
  • package:opticonnect_sdk/src/services/scanner_settings/database_manager.dart that imports:
  • package:opticonnect_sdk/src/services/database/database_path_helper.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:opticonnect_sdk/opticonnect.dart that imports:
  • package:opticonnect_sdk/src/services/scanner_settings/settings_handler.dart that imports:
  • package:opticonnect_sdk/src/services/scanner_settings/database_manager.dart that imports:
  • package:opticonnect_sdk/src/services/database/database_path_helper.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:opticonnect_sdk/opticonnect.dart that imports:
  • package:opticonnect_sdk/src/services/scanner_settings/settings_handler.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:opticonnect_sdk/opticonnect.dart that imports:
  • package:opticonnect_sdk/src/services/scanner_settings/settings_handler.dart that imports:
  • package:opticonnect_sdk/src/services/scanner_settings/database_manager.dart that imports:
  • package:opticonnect_sdk/src/services/database/database_path_helper.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:opticonnect_sdk/opticonnect.dart that imports:
  • package:opticonnect_sdk/src/services/scanner_settings/settings_handler.dart that imports:
  • package:opticonnect_sdk/src/services/scanner_settings/database_manager.dart that imports:
  • package:opticonnect_sdk/src/services/database/database_path_helper.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that imports:
  • package:path_provider_windows/src/path_provider_windows_stub.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

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

failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: This default clause is covered by the previous cases.

lib/src/services/ble/ble_connectivity_handler.dart:130:7

    ╷
130 │       default:
    │       ^^^^^^^
    ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
device_info_plus ^11.0.0 11.2.0 11.2.0
flutter flutter 0.0.0 0.0.0
flutter_blue_plus_windows ^1.24.19 1.24.22 1.24.22
get_it ^8.0.2 8.0.3 8.0.3
injectable ^2.5.0 2.5.0 2.5.0
logger ^2.4.0 2.5.0 2.5.0
mutex ^3.1.0 3.1.0 3.1.0
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.1.5 2.1.5 2.1.5
path_provider_windows ^2.3.0 2.3.0 2.3.0
permission_handler ^11.3.1 11.3.1 11.3.1
sqflite ^2.3.3+1 2.4.1 2.4.1
sqflite_common_ffi ^2.3.4 2.3.4+4 2.3.4+4
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
device_info_plus_platform_interface - 7.0.2 7.0.2
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_blue_plus - 1.34.5 1.34.5
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
sqlite3 - 2.5.0 2.5.0
stream_with_value - 0.5.0 0.5.0
synchronized - 3.3.0+3 3.3.0+3
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0
win32_registry - 1.1.5 2.0.1
win_ble - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

1
likes
140
points
104
downloads

Publisher

verified publisheropticon.com

Weekly Downloads

OptiConnect SDK integrates with Opticon's BLE OPN-2500 and OPN-6000 scanners, enabling Bluetooth connection management, data streaming, and command control.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

device_info_plus, flutter, flutter_blue_plus_windows, get_it, injectable, logger, mutex, path, path_provider, path_provider_windows, permission_handler, sqflite, sqflite_common_ffi

More

Packages that depend on opticonnect_sdk