andrey-ushakov / esc_pos_bluetooth

ESC/POS (thermal, receipt) printing for Flutter & Dart (Android/iOS)
BSD 3-Clause "New" or "Revised" License
248 stars 333 forks source link

The plugin `flutter_bluetooth_basic` uses a deprecated version of the Android embedding. #107

Open FimboIsso opened 2 years ago

FimboIsso commented 2 years ago

The plugin flutter_bluetooth_basic uses a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

Please help

FimboIsso commented 2 years ago

is there someone to help me ?

javieritis commented 2 years ago

same problem! @andrey-ushakov any solution?

necessarylion commented 2 years ago

same problem here.

tomasgaray commented 2 years ago

same problem

kader46 commented 2 years ago

Same problem !
Any alternative packages ?

eduardchavez commented 2 years ago

Anybody has solved this? I have found another package but that stops when printing an image. Package: blue_thermal_printer

pnoshiro commented 2 years ago

Anybody has solved this? I have found another package but that stops when printing an image. Package: blue_thermal_printer

Same issue here. I tested before this one bluetooth_thermal_printer + esc_pos_utils and seems to work fine except for images because of image package size. I kinda solved it by sending it in chunks of 512 (1024 chunks max, this might result in no image print) positions following this: https://hackernoon.com/build-an-app-that-print-from-a-thermal-bluetooth-printer-using-flutter But some packages are printed misordered, so the image is not printed ok. Then I tried with the same chunk method generator.imageRaster(image, imageFn: PosImageFn.graphics); But somehow there's a little misalignment. For sure this might be because of my printer, it's a Bixolon SPP-R200III. Anyway, looking forward a fix for this, Thank you!

mandreshope commented 2 years ago

any update for this problem please?

eduardchavez commented 2 years ago

I have solved the problem using another package...

On Wed, Jul 13, 2022 at 7:55 AM Randrianarinjaka Mandresy < @.***> wrote:

any update for this problem please?

— Reply to this email directly, view it on GitHub https://github.com/andrey-ushakov/esc_pos_bluetooth/issues/107#issuecomment-1183128542, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIFYIUWLRE45WKTUTS34TLVT2VE5ANCNFSM5KPV2O3Q . You are receiving this because you commented.Message ID: @.***>

jobypthomas commented 2 years ago

@eduardchavez what was the replacement package?

duEuler commented 2 years ago

Qual pacote?

YouSour commented 2 years ago

still no update , anyone solved this problem ? 😞

eduardchavez commented 2 years ago

Hello friend... I have solved the problem using another great library. blue_thermal_printer: ^1.2.3

On Wed, Oct 26, 2022 at 3:00 AM Sour @.***> wrote:

still no update , anyone solved this problem ? 😞

— Reply to this email directly, view it on GitHub https://github.com/andrey-ushakov/esc_pos_bluetooth/issues/107#issuecomment-1291587133, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIFYIRNKLBPBLR7ZMPXZVTWFDJKFANCNFSM5KPV2O3Q . You are receiving this because you were mentioned.Message ID: @.***>

jobypthomas commented 2 years ago

@eduardchavez, but it says does not support iOS. Can you please confirm?

thitlwincoder commented 1 year ago

Same problem !

MrErkinjon commented 1 year ago

blue_thermal_printer sdk: '>=2.1.0 <3.0.0'

esc_pos_bluetooth: ^0.3.0 esc_pos_utils: ^0.3.6 flutter_bluetooth_basic: ^0.1.6 image: 2.1.4 The app worked