sunmi_scanner 0.0.7 copy "sunmi_scanner: ^0.0.7" to clipboard
sunmi_scanner: ^0.0.7 copied to clipboard

PlatformAndroid

Sunmi support package that allows you to easily interface with your scanner device

CHANGELOG #

0.0.7 #

  • BREAKING CHANGE: You must now call SunmiScanner.bindService() before using any scanner methods.
  • Added SunmiScanner.bindService() and SunmiScanner.unbindService() for manual control over the service lifecycle.
  • The service connection toast is now optional and can be disabled via bindService(showToast: false).
  • Improved error handling. Methods now throw a PlatformException if the service is not bound or a RemoteException occurs.
  • Added a new stream SunmiScanner.onScannerStatusChanged() to monitor the service connection status (ScannerConnectionStatus).
  • Added SunmiScannerModel enum and SunmiScanner.getScannerModelEnum() method for type-safe model identification.
  • Make isScannerAvailable() return false when the platform channel throws, instead of propagating the exception.
  • Adjust Android scanner integration (receiver export flag; attempt to start the scanner service before binding).
  • Bump example lockfile SDK/dependency versions and update GitHub Actions workflow action versions.
  • Updated some Gradle config by the flutter migrator.
  • Better logs

0.0.6 #

Update GitHub repo

0.0.5 #

Documentation & Dependencies update

0.0.4 #

Documentation & Refactoring

0.0.3 #

Update pubspec

0.0.2 #

Update minSdkVersion -> 16

0.0.1 #

Implementation of basic functions, management of scanner calls

9
likes
160
points
1.21k
downloads

Documentation

API reference

Publisher

verified publisherfrancescodema.dev

Weekly Downloads

Sunmi support package that allows you to easily interface with your scanner device

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on sunmi_scanner

Packages that implement sunmi_scanner