getsentry / sentry-java

A Sentry SDK for Java, Android and other JVM languages.
https://docs.sentry.io/
MIT License
1.15k stars 434 forks source link

Session Replay for native Android applications #2476

Open bruno-garcia opened 1 year ago

bruno-garcia commented 1 year ago

Problem Statement

Support for Session Replay for Native Android apps

We're working on it! Wanna join the early adopter release? Join the waitlist and discussion about the feature:

Solution Brainstorm

┆Issue is synchronized with this Jira Improvement by Unito

markushi commented 1 year ago

It might be easier to implement for Jetpack Compose as the runtime is packaged as part of the app, allowing us to instrument the drawing code at build-time (as opposed to the Android View System where the drawing commands are provided by the system). See

GeekCornerGH commented 1 year ago

It might be easier to implement for Jetpack Compose as the runtime is packaged as part of the app, allowing us to instrument the drawing code at build-time (as opposed to the Android View System where the drawing commands are provided by the system). See

Does this mean you wouldn't implement "classic" way for apps (I mean java activities)?

romtsn commented 1 year ago

@GeekCornerGH we definitely would, at the very least to support React Native which has a way bigger demand and still uses traditional android Views as of now.

GeekCornerGH commented 1 year ago

Interesting. For my usecase, I can't use React Native, what would be the top priority between Compose and Views?

romtsn commented 1 year ago

Interesting. For my usecase, I can't use React Native, what would be the top priority between Compose and Views?

Not saying you should use RN, but just meant if we were to implement Session Replay on Android, we would definitely start with something that supports React Native (=Views), so you're covered :)

GeekCornerGH commented 1 year ago

Interesting. For my usecase, I can't use React Native, what would be the top priority between Compose and Views?

Not saying you should use RN, but just meant if we were to implement Session Replay on Android, we would definitely start with something that supports React Native (=Views), so you're covered :)

Alright, apologies for my misunderstanding, and thanks for providing such tools for free!

bruno-garcia commented 10 months ago

We're doing a PoC of this as we speak. We should have some updates after the holidays

bruno-garcia commented 8 months ago

We're working on it! Wanna join the early adopter release? Join the waitlist and discussion about the feature:

bruno-garcia commented 5 months ago

We released our first Alpha version of the SDK with support: https://github.com/getsentry/sentry-java/releases/tag/7.8.0-alpha.0

To get access, it requires adding your Sentry org to our feature flag. This way data can be ingested and displayed in Sentry. Please let us know on the waitlist if you're interested