flutter_print_label 0.1.0
flutter_print_label: ^0.1.0 copied to clipboard
Bluetooth label printer plugin (TSPL) for Android and iOS. Supports budget Chinese label printers (VOZY, Xprinter, Gprinter, ...) that advertise BLE without a name.
0.1.0 #
Initial release.
- Scan for Bluetooth label printers on Android (Classic paired list + real BLE scan) and iOS (BLE).
- Unnamed BLE printers are reported with a generated fallback name instead of being skipped.
- Connect / disconnect with reliable state reporting;
connectedis emitted only when the printer is ready to receive data. - Send raw bytes or TSPL command strings; iOS writes are chunked to the MTU with pacing to avoid printer buffer overflows.
- iOS: pure CoreBluetooth implementation (no vendor SDK), automatic write characteristic discovery preferring well-known printer services.
- iOS: Bluetooth radio state stream, system enable-Bluetooth alert helper,
and
getConnectedDevice()to restore a live connection after hot restart. - Android: automatic runtime permission requests and system enable-Bluetooth dialog.