flutter_vibration
flutter_vibration copied to clipboard
On ios play default vibration when failed to play pattern
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.