-
Notifications
You must be signed in to change notification settings - Fork 2
feat: adds click and swipe interactions to session replay #292
New issue
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
Merged
+1,053
−228
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...y-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/ReplayInstrumentation.kt
Outdated
Show resolved
Hide resolved
...-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/InteractionMoveGrouper.kt
Show resolved
Hide resolved
...d/lib/src/main/kotlin/com/launchdarkly/observability/replay/RRwebGraphQLReplayLogExporter.kt
Show resolved
Hide resolved
tanderson-ld
commented
Nov 13, 2025
...d/lib/src/main/kotlin/com/launchdarkly/observability/replay/RRwebGraphQLReplayLogExporter.kt
Show resolved
Hide resolved
tanderson-ld
commented
Nov 13, 2025
...d/lib/src/main/kotlin/com/launchdarkly/observability/replay/RRwebGraphQLReplayLogExporter.kt
Show resolved
Hide resolved
tanderson-ld
commented
Nov 13, 2025
...d/lib/src/main/kotlin/com/launchdarkly/observability/replay/RRwebGraphQLReplayLogExporter.kt
Show resolved
Hide resolved
tanderson-ld
commented
Nov 13, 2025
...d/lib/src/main/kotlin/com/launchdarkly/observability/replay/RRwebGraphQLReplayLogExporter.kt
Show resolved
Hide resolved
...ility-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/InteractionSource.kt
Outdated
Show resolved
Hide resolved
...-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/InteractionMoveGrouper.kt
Show resolved
Hide resolved
...d/lib/src/main/kotlin/com/launchdarkly/observability/replay/RRwebGraphQLReplayLogExporter.kt
Show resolved
Hide resolved
...d/lib/src/main/kotlin/com/launchdarkly/observability/replay/RRwebGraphQLReplayLogExporter.kt
Show resolved
Hide resolved
agrognetti
approved these changes
Nov 14, 2025
...rvability-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/CaptureSource.kt
Outdated
Show resolved
Hide resolved
...bility-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/InteractionEvent.kt
Show resolved
Hide resolved
...bility-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/InteractionEvent.kt
Show resolved
Hide resolved
...-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/InteractionMoveGrouper.kt
Show resolved
Hide resolved
...y-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/ReplayInstrumentation.kt
Outdated
Show resolved
Hide resolved
...ility-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/InteractionSource.kt
Show resolved
Hide resolved
...ility-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/InteractionSource.kt
Outdated
Show resolved
Hide resolved
...ility-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/InteractionSource.kt
Show resolved
Hide resolved
...y-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/ReplayInstrumentation.kt
Outdated
Show resolved
Hide resolved
...ility-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/InteractionSource.kt
Show resolved
Hide resolved
...ility-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/InteractionSource.kt
Show resolved
Hide resolved
Merged
tanderson-ld
pushed a commit
that referenced
this pull request
Nov 17, 2025
🤖 I have created a release *beep* *boop* --- <details><summary>launchdarkly-observability-android: 0.14.0</summary> ## [0.14.0](launchdarkly-observability-android-0.13.2...launchdarkly-observability-android-0.14.0) (2025-11-17) ### Features * adds click and swipe interactions to session replay ([#292](#292)) ([4531005](4531005)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Bumps `sdk/@launchdarkly/observability-android` to 0.14.0 adding click/swipe interactions to session replay, updating manifest and Gradle version. > > - **Android SDK (`sdk/@launchdarkly/observability-android`)**: > - **Release `0.14.0`**: Adds session replay click and swipe interactions (`CHANGELOG.md`). > - Update `gradle.properties` version to `0.14.0`. > - **Release Manifest**: > - Update `.release-please-manifest.json` entry for `sdk/@launchdarkly/observability-android` to `0.14.0`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit d930ce0. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
Adds touch interaction (down/move/up) capture and RRWeb event generation, refactors capture/export pipeline to batch per session and handle full vs incremental snapshots.
InteractionEvent,Position, andInteractionSourceto intercept window touch events and emit interaction logs (ACTION_DOWN/UP/MOVE) with buffering.InteractionMoveGrouperto filter/group MOVE positions by distance/time and periodically emit grouped events.CapturetoCaptureEvent;CaptureSourcenow tracks the most recent activity safely and usesDispatcherProviderHolder.RRwebGraphQLReplayLogExporter):session.id, and initialize sessions once before pushing payloads.generateCaptureFullEvents,generateCaptureIncrementalEvents, and newgenerateInteractionEvents(RRWeb-compatible).ReplayInstrumentation):InteractionSourceinto logging; emitevent.domain=interactionwith serialized coords; use dispatcher provider for coroutines.InteractionMoveGrouperTestand updateRRwebGraphQLReplayLogExporterTestfor event generation and batching behavior.Written by Cursor Bugbot for commit 6abf164. This will update automatically on new commits. Configure here.