Search docs/
Getting StartedPlugins


Vibrates the device

Premier Version Available

Featuring regular release cycles, security and bug fixes, and guaranteed SLAs.

Available here


ionic cordova plugin add cordova-plugin-vibrationnpm install @ionic-native/vibrationnpm install cordova-plugin-vibrationnpm install @ionic-native/vibrationionic cap sync
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 Us

Supported Platforms

  • Android
  • iOS
  • Windows


Using React?

See here.

import { Vibration } from '@ionic-native/vibration/ngx';

constructor(private vibration: Vibration) { }


// Vibrate the device for a second
// Duration is ignored on iOS.

// Vibrate 2 seconds
// Pause for 1 second
// Vibrate for 2 seconds
// Patterns work on Android and Windows only

// Stop any current vibrations immediately
// Works on Android and Windows only