Overview
Shake Device simulates a physical shake of the device by injecting a rapid accelerometer burst. Use it for steps that ask to “shake the device” or to trigger features bound to a shake gesture — for example a shake-to-report-a-bug flow or a React Native developer menu.How to use
Write a step in plain language:Shake the deviceShake the phone to open the bug report screen
Intensity and duration (optional)
By default the shake uses a sensible amplitude for about one second. You can optionally specify a stronger or longer shake asintensity[,duration_ms]:
25— default amplitude, ~1 second40,2000— stronger amplitude, 2-second shake
Shake does not change device orientation, and there is no landscape/portrait
rotation step. The only related gesture is flip (face-up ↔ face-down), used for
flip-to-mute / flip-to-silence behaviors — not screen rotation.
Example use cases
- Shake-to-report-a-bug / feedback flows
- Triggering a developer or debug menu bound to the shake gesture
- Undo-via-shake behaviors
