flutter_vibration icon indicating copy to clipboard operation
flutter_vibration copied to clipboard

On ios play default vibration when failed to play pattern

Open Filiponesco opened this issue 1 year ago • 0 comments

Play the default vibration when unable to play a custom pattern.

For example if the core haptic engine is stopped because the app is in the background.

In my opinion, it's a good practice to trigger the default vibration when you can't use a specific pattern.

PS. Playing vibrations using the core haptic engine is not possible when the app is in the background. You can refer to this forum discussion and the Apple documentation for more information.

Filiponesco avatar Oct 26 '23 11:10 Filiponesco