sunmi_scanner 0.0.7
sunmi_scanner: ^0.0.7 copied to clipboard
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()andSunmiScanner.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
PlatformExceptionif the service is not bound or aRemoteExceptionoccurs. - Added a new stream
SunmiScanner.onScannerStatusChanged()to monitor the service connection status (ScannerConnectionStatus). - Added
SunmiScannerModelenum andSunmiScanner.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