flutter_mailer
flutter_mailer copied to clipboard
uses or overrides a deprecated API.
Since the catcher_2 ^1.0.0 depend on this package I'm getting the following error running my Flutter op on Android:
Note: /Users/koenvestjens/.pub-cache/hosted/pub.dev/flutter_mailer-2.1.1/android/src/main/java/com/dataxad/flutter_mailer/FlutterMailerPlugin.java uses or overrides a deprecated API.
-- Flutter 3.13.7 • channel stable • https://github.com/flutter/flutter.git Framework • revision 2f708eb839 (4 days ago) • 2023-10-09 09:58:08 -0500 Engine • revision a794cf2681 Tools • Dart 3.1.3 • DevTools 2.25.0
Deprecated API usage in FlutterMailerPlugin.java
Description:
I'm encountering a warning message when building my Flutter project that indicates the FlutterMailerPlugin.java file is using or overriding deprecated APIs. This could potentially lead to compatibility issues or unexpected behavior in the future.
Steps to Reproduce:
- Clone the Flutter Mailer plugin repository: https://github.com/taljacobson/flutter_mailer
- Build the Flutter project using the following command:
flutter build android
Expected Behavior:
The Flutter project should build without any warnings or errors.
Actual Behavior:
The following warning message is displayed during the build process:
Note: /Users/macos/.pub-cache/git/flutter_mailer-cd0d3d81cf29ee068c8b32f6e726a636acbc9d37/android/src/main/java/com/dataxad/flutter_mailer/FlutterMailerPlugin.java uses or overrides a deprecated API.
Note: For more information, use -Xlint:deprecation to recompile.
Thank you for your time and attention to this matter.