Deprecation warning
Opened this issue · 3 comments
aluedtke7 commented
Since today I'm using vibration version 1.8.1 and I get the following message when I compile my app on Linux for Android:
Note: /home/al/.pub-cache/hosted/pub.dev/vibration-1.8.1/android/src/main/java/com/benjaminabel/vibration/VibrationPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
If you need other infos, please let me know.
benjamindean commented
Hey! This is an expected message (for now) since some of the vibration methods are marked as deprecated on newer APIs. But they should still work on older versions. Does it cause any issues when compiling?
aluedtke7 commented
No, it's just a warning. The compiled apk works as expected.
masus04 commented
Any update on this? The package is currently working as expected, but it has been 9 months and at some point the deprecated API will break it.