This plugin can be used to access the vibration mechanism of the device.
You can refer to the code present in /partials/cordova-plugins/vibration.html file and use it accordingly.
/partials/cordova-plugins/vibration.html
https://www.npmjs.com/package/cordova-plugin-vibrationarrow-up-right
Last updated 2 years ago