benjamindean / flutter_vibration

Handle vibration on iOS and Android in Flutter apps
217 stars 67 forks source link

Amplitude isn't controlled in iOS #61

Closed luckv closed 1 year ago

luckv commented 3 years ago

Even if hasAmplitudeControl() returns true in iOS, calling vibrate() with a custom amplitude parameter doesn't variate the amplitude of the generated vibration. On Android it works correctly

Tested with

Flutter 2.2.1 Vibration 1.7.3 iPhone 6S with iOS 14.5.1, the only one that I have

z759341385 commented 2 years ago

any progress?

benjamindean commented 2 years ago

Hey! Sorry for the long wait. I'm unable to test it on iOS, St the plugin has only been tested on Android. As far as I know, iOS is very restrictive in that sense. It depends on the device and iOS version too.

benjamindean commented 1 year ago

Closed because it won't work on iPhone 6S (the device that I've been able to test it on).