Skip to content

@capgo/capacitor-shake

Capacitor Shake Plugin interface for detecting shake gestures on mobile devices. This plugin allows you to listen for shake events and get plugin version information.

Capacitor Shake Plugin interface for detecting shake gestures on mobile devices. This plugin allows you to listen for shake events and get plugin version information.

  • addListener - Listen for shake event on the device.
  • getPluginVersion - Get the native Capacitor plugin version.
MethodDescription
addListenerListen for shake event on the device.
getPluginVersionGet the native Capacitor plugin version.

This reference is synced from src/definitions.ts in capacitor-shake.

If you are using @capgo/capacitor-shake to plan dashboard and API operations, connect it with Using @capgo/capacitor-shake for the native capability in Using @capgo/capacitor-shake, API Overview for the implementation detail in API Overview, Introduction for the implementation detail in Introduction, API Keys for the implementation detail in API Keys, and Devices for the implementation detail in Devices.