Giter Club home page Giter Club logo

Comments (8)

benjamindean avatar benjamindean commented on June 27, 2024

Most likely it's about the vibrate method. The old method is marked as deprecated, but as far as I know, still works on the old Android versions.

from flutter_vibration.

ceciliamzayek avatar ceciliamzayek commented on June 27, 2024

oh so I can just leave it as it is?

from flutter_vibration.

benjamindean avatar benjamindean commented on June 27, 2024

Yes, it's just a warning which you can ignore. I'll try to get rid of it, if possible.

from flutter_vibration.

hrashdan avatar hrashdan commented on June 27, 2024

google play rejected my app update !

image

I add android.debug.obsoleteApi=true to "gradle.properties" to debug the api and ....

image

so I opened the developer reference and I got this msg:

image

you can update your flutter_vibration plugin to VibrationEffect from here

https://developer.android.com/reference/android/os/VibrationEffect

from flutter_vibration.

jdeltoft avatar jdeltoft commented on June 27, 2024

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.

from flutter_vibration.

saddy001 avatar saddy001 commented on June 27, 2024

I'm also getting the deprecation warning.

from flutter_vibration.

benjamindean avatar benjamindean commented on June 27, 2024

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 @SuppressWarnings to the method call. But I can only do it next week. Sorry for the inconvenience. The plugin should still work as expected.

from flutter_vibration.

malikdoksoz avatar malikdoksoz commented on June 27, 2024

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 @SuppressWarnings to the method call. But I can only do it next week. Sorry for the inconvenience. The plugin should still work as expected.

Cool

from flutter_vibration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.