kakzaki / blue_thermal_printer

Working with thermal printer via bluetooth (Flutter)
MIT License
164 stars 205 forks source link

Deprecated API ?? #140

Closed patrickegp closed 2 years ago

patrickegp commented 2 years ago

Launching lib[/main.dart]() on Android SDK built for x86 in debug mode... lib/main.dart:1 Note: [/Users/patrick/developer/flutter/.pub-cache/hosted/pub.dartlang.org/blue_thermal_printer-1.2.0/android/src/main/java/id/kakzaki/blue_thermal_printer/BlueThermalPrinterPlugin.java]() uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Note: [/Users/patrick/developer/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.12/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java]() uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

joao-moniz commented 10 months ago

Hello I have the same warning when using the library. Does anyone know how to solve it?

BlueThermalPrinterPlugin.java uses or overrides a deprecated API.

ramosjorgeluis commented 5 months ago

Hello! I get the same warning: BlueThermalPrinterPlugin.java uses or overrides a deprecated API. Anyone knows how to solve it?