-
Notifications
You must be signed in to change notification settings - Fork 67
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
Depricated warning #14
Comments
Most likely it's about the |
oh so I can just leave it as it is? |
Yes, it's just a warning which you can ignore. I'll try to get rid of it, if possible. |
google play rejected my app update ! I add android.debug.obsoleteApi=true to "gradle.properties" to debug the api and .... so I opened the developer reference and I got this msg: you can update your flutter_vibration plugin to VibrationEffect from here https://developer.android.com/reference/android/os/VibrationEffect |
I get this error, and when I build apks (debug or release) and side install them, it fails to vibrate on two different android phones I've tested so far. UPDATE: sorry! I was wrong. I was using HapticFeedback.vibrate(); Using this plugin worked perfectly now for me from the apk. |
I'm also getting the deprecation warning. |
This warning shouldn't affect anything because there is a check for API revision to support old Android versions. The only thing I can do is add |
Cool |
I am getting this warning when I run flutter:
Note: /usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/vibration-1.2.1/android/src/main/java/com/benjaminabel/vibration/VibrationPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
The text was updated successfully, but these errors were encountered: