capacitor-plugins
capacitor-plugins copied to clipboard
feat(haptics): implement method to stop vibration
Feature Request
Plugin
haptics
Description
It should be possible to to stop (cancel) a vibration at any time.
Example: Ater initiating a vibration via vibrate(...)
for 5000 ms it should be possible to manually stop it when needed (e.g. after 1000 ms).
Platform(s)
ios, android
Preferred Solution
Implement a method like stopVibration()
to stop the device from vibrating.