Version: v5On this pageVibrationVibrates the device https://github.com/apache/cordova-plugin-vibrationStuck on a Cordova issue?Don't waste precious time on plugin issues.If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.Contact Us Today!InstallationCapacitorCordovaEnterprise$ npm install cordova-plugin-vibration $ npm install @awesome-cordova-plugins/vibration $ ionic cap sync$ ionic cordova plugin add cordova-plugin-vibration $ npm install @awesome-cordova-plugins/vibration Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact UsSupported PlatformsAndroidiOSWindowsUsageReactLearn more about using Ionic Native components in ReactAngularimport { Vibration } from '@awesome-cordova-plugins/vibration/ngx';constructor(private vibration: Vibration) { }...// Vibrate the device for a second// Duration is ignored on iOS.this.vibration.vibrate(1000);// Vibrate 2 seconds// Pause for 1 second// Vibrate for 2 seconds// Patterns work on Android and Windows onlythis.vibration.vibrate([2000,1000,2000]);// Stop any current vibrations immediately// Works on Android and Windows onlythis.vibration.vibrate(0);