mkuczera/react-native-haptic-feedback

How to control iOS vibration in case of fallback?

nelsonprsousa opened this issue · 1 comments

Right now we can use enableVibrateFallback to enable old iPhones to vibrate (because there's no haptic feedback available). However, based on docs, the default vibration is 1 second.

However, based on React Native official docs, on iOS, the vibration duration is fixed at roughly 400 milliseconds.

Why are we using a different default vibration using this library? Also, is it possible to reduce to the minimum (let's say, those 400ms)?

Thank you guys 🚀

Hi, back then actually i´m pretty sure the smallest available duration was actually 1000ms. I will update the package soon with the lower value as a default and make it configurable.