We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://posthog.com/docs/libraries/react-native#autocapture Right now scrolls and swipes are considered touch, we can probably check if it's a scroll, a swipe, or else. It's likely possible via heuristics or event metadata, such as the MotionEvent.ACTION_UP and MotionEvent.ACTION_DOWN on Android. More ideas here https://developer.android.com/develop/ui/views/touch-and-input/gestures/detector
touch
MotionEvent.ACTION_UP
MotionEvent.ACTION_DOWN
For RN specifically:
posthog-js-lite/posthog-react-native/src/PostHogProvider.tsx
Lines 80 to 92 in ae60ef4
This applies to:
The text was updated successfully, but these errors were encountered:
RN can at least autocapture events such as touched a ScrollView Where the component is <ScrollView ...></ScrollView>
touched a ScrollView
<ScrollView ...></ScrollView>
Sorry, something went wrong.
No branches or pull requests
Description
https://posthog.com/docs/libraries/react-native#autocapture
Right now scrolls and swipes are considered
touch
, we can probably check if it's a scroll, a swipe, or else.It's likely possible via heuristics or event metadata, such as the
MotionEvent.ACTION_UP
andMotionEvent.ACTION_DOWN
on Android.More ideas here https://developer.android.com/develop/ui/views/touch-and-input/gestures/detector
For RN specifically:
posthog-js-lite/posthog-react-native/src/PostHogProvider.tsx
Lines 80 to 92 in ae60ef4
This has to implement something similar.
This applies to:
The text was updated successfully, but these errors were encountered: