Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning #87

Open
aluedtke7 opened this issue Jun 23, 2023 · 3 comments
Open

Deprecation warning #87

aluedtke7 opened this issue Jun 23, 2023 · 3 comments

Comments

@aluedtke7
Copy link

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
Copy link
Owner

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
Copy link
Author

No, it's just a warning. The compiled apk works as expected.

@masus04
Copy link

masus04 commented Mar 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants