semlette / nfc_in_flutter

Cross-platform flutter plugin for reading and writing NFC tags. Not maintained anymore - not looking for new maintainer, fork instead.
MIT License
119 stars 119 forks source link

Compiler message: NfcInFlutterPlugin.java uses or overrides a deprecated API. #82

Open FabioPagano opened 3 years ago

FabioPagano commented 3 years ago

Good evening. Compilng my app (in Flutter 2.0.2) I receive the information message:

Note: c:\src\flutter.pub-cache\hosted\pub.dartlang.org\nfc_in_flutter-2.0.5\android\src\main\java\me\andisemler\nfc_in_flutter\NfcInFlutterPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

The program then works ok, but has the above message some action that I need to do in my app?

Thank you.

larssn commented 3 years ago

No that is pretty normal in Android. It's because the plugin needs to support older versions of Android.