Commit de69559d authored by Andrey's avatar Andrey

version update, readme updated.

parent a8069a01
...@@ -9,7 +9,7 @@ The library allows to print receipts using an ESC/POS thermal WiFi/Bluetooth pri ...@@ -9,7 +9,7 @@ The library allows to print receipts using an ESC/POS thermal WiFi/Bluetooth pri
WiFi printing can be used in [Flutter](https://flutter.dev/) or pure [Dart](https://dart.dev/) projects. For Flutter projects, both Android and iOS are supported. WiFi printing can be used in [Flutter](https://flutter.dev/) or pure [Dart](https://dart.dev/) projects. For Flutter projects, both Android and iOS are supported.
Bluetooth printing can be used only for iOS. Android support will be added soon *(I hope)*. Bluetooth printing can also be used on both Android and iOS platforms.
To discover existing printers in your subnet, consider using [ping_discover_network](https://pub.dev/packages/ping_discover_network) package. Note that most of the ESC/POS printers by default listen on port 9100. To discover existing printers in your subnet, consider using [ping_discover_network](https://pub.dev/packages/ping_discover_network) package. Note that most of the ESC/POS printers by default listen on port 9100.
...@@ -137,7 +137,6 @@ print('Print result: ${res.msg}'); ...@@ -137,7 +137,6 @@ print('Print result: ${res.msg}');
For more details, check demo project *example/blue*. For more details, check demo project *example/blue*.
## TODO ## TODO
* Bluetooth printers: add Android support
* Print QR codes * Print QR codes
* USB printers support * USB printers support
......
...@@ -39,7 +39,7 @@ android { ...@@ -39,7 +39,7 @@ android {
defaultConfig { defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.blue" applicationId "com.example.blue"
minSdkVersion 16 minSdkVersion 21
targetSdkVersion 28 targetSdkVersion 28
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()
versionName flutterVersionName versionName flutterVersionName
......
name: esc_pos_printer name: esc_pos_printer
description: The library allows to print receipts using an ESC/POS thermal WiFi/Bluetooth printer. description: The library allows to print receipts using an ESC/POS thermal WiFi/Bluetooth printer.
version: 2.1.0 version: 2.1.1
homepage: https://github.com/andrey-ushakov/esc_pos_printer homepage: https://github.com/andrey-ushakov/esc_pos_printer
environment: environment:
...@@ -13,7 +13,7 @@ dependencies: ...@@ -13,7 +13,7 @@ dependencies:
image: ^2.1.4 image: ^2.1.4
gbk_codec: ^0.3.1+3 gbk_codec: ^0.3.1+3
rxdart: ^0.23.1 rxdart: ^0.23.1
flutter_bluetooth_basic: ^0.0.1 flutter_bluetooth_basic: ^0.1.2
# flutter_bluetooth_basic: # flutter_bluetooth_basic:
# git: # git:
# url: git://github.com/andrey-ushakov/flutter_bluetooth_basic # url: git://github.com/andrey-ushakov/flutter_bluetooth_basic
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment