See the gestures behind app behavior
Preserve Cordova/Capacitor touch evidence so you can review the user actions that accompanied an app issue.
Captured touches add user actions to your session evidence, helping you understand the gestures around a visible problem. Cordova/Capacitor uses the native iOS and Android capture paths.
Configure capture:
const options = Ansight.createOptionsBuilder()
.withTouchCapture({
captureMoveEvents: true,
moveCaptureFramesPerSecond: 20,
})
.build();
Use Ansight.enableTouchCapture() and Ansight.disableTouchCapture() while the runtime is active.
Touch evidence can contain coordinates and gesture timing across the WebView. Keep it development-only and disable it on sensitive screens.
The native capture path also retains available Apple Pencil and Android stylus/eraser pressure or force, angles, hover, and finer move samples. The pen data travels with the existing session touch records; device-dependent fields are omitted when unavailable.