Swipe
swipePerform directional or coordinate-based gestures in a running React Native app, using JS container scrolling, real simulator/device touch, or automatic fallback.
Instructions
Swipe in a direction (scaled to the screen), or between explicit coordinates. via picks the delivery path: js scrolls the container under the start point by the same distance through the app runtime (no touch), os is a real simulator/device gesture, auto (default) tries js and names the reason when it falls back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| via | No | ||
| device | No | ||
| direction | No | ||
| duration_ms | No |