flutter_vibrate icon indicating copy to clipboard operation
flutter_vibrate copied to clipboard

Allow client to set custom duration

Open Aniki312 opened this issue 6 years ago • 2 comments

@clovisnicolas Maybe we can provide a optional duration parameter in public api so that client can set vibrate duration as they ?

Aniki312 avatar Mar 31 '18 11:03 Aniki312

I will do it if we find a way to achieve the same result on iOS. For now you can use patterns with no pause to have a longer vibration on both platforms

clovisnicolas avatar Mar 31 '18 13:03 clovisnicolas

 @clovisnicolas thanks~ actually I tried to customize the duration since our PM request a shorter vibrate duration, but as you said, it seems iOS didn't have equivalent pubic api.

Aniki312 avatar Apr 02 '18 03:04 Aniki312