Skip to content

Add user interaction tracing #2753

@krystofwoldrich

Description

@krystofwoldrich

Description

In a similar way to the sentry-cocoa the RN SDK could create spans/transactions for user interactions.

For basic touch/click we can use the already existing implementation for collection touch breadcrumbs.

This might not be useful at the moment if we want only interactions that course some API calls, and changes in the app. We can make use of the gesture responder system of RN. It doesn't resolve the gestures, but gives back raw information about the number of touches, and generates touch id, position, velocity etc.

  • onStartShouldSetResponder
  • onMoveShouldSetResponder

To recognize gestures such as pinch-to-zoom, swipe left, right... we would need to use native implementation or integrate with a library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions