Skip to content

Conversation

@romtsn
Copy link
Member

@romtsn romtsn commented May 19, 2025

📜 Description

💡 Motivation and Context

💚 How did you test it?

📝 Checklist

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

@romtsn romtsn requested a review from markushi May 19, 2025 11:43
@github-actions
Copy link
Contributor

github-actions bot commented May 19, 2025

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- Fix window tracking ([#4419](https://github.com/getsentry/sentry-java/pull/4419))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against 35e8f3e

Copy link
Member

@markushi markushi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@romtsn romtsn merged commit 59d2cce into markushi/fix/stretched-dialogs-sr May 19, 2025
25 of 28 checks passed
@romtsn romtsn deleted the rz/fix/session-replay-dialogs branch May 19, 2025 21:06
@github-actions
Copy link
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 451.39 ms 506.94 ms 55.55 ms
Size 1.58 MiB 2.08 MiB 507.58 KiB

Baseline results on branch: markushi/fix/stretched-dialogs-sr

Startup times

Revision Plain With Sentry Diff
168b278 427.60 ms 465.36 ms 37.76 ms
48b60cb 398.46 ms 433.92 ms 35.46 ms

App size

Revision Plain With Sentry Diff
168b278 1.58 MiB 2.08 MiB 507.51 KiB
48b60cb 1.58 MiB 2.08 MiB 507.51 KiB

markushi added a commit that referenced this pull request Jun 5, 2025
* Determine recording size based on active window

* Extend sample app with Dialog

* Update Changelog

* Use onPreDrawListener instead of onDrawListener for determining window size

* fix(replay): Fix window tracking (#4419)

* fix(replay): Fix window tracking

* api dump

* Fix Changelog

* Fix tests

* [SR] Remove configuration from start() method (#4454)

* Remove configuration from start() method

* Open up onConfigurationChanged for Hybrid SDKs

* Address logging concerns

* Format code

* Cache last known config

* Update sentry-android-replay/src/main/java/io/sentry/android/replay/capture/BaseCaptureStrategy.kt

Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>

* Fix order

* Fix compile issue

---------

Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>

---------

Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
romtsn added a commit that referenced this pull request Jul 9, 2025
* Determine recording size based on active window

* Extend sample app with Dialog

* Update Changelog

* Use onPreDrawListener instead of onDrawListener for determining window size

* fix(replay): Fix window tracking (#4419)

* fix(replay): Fix window tracking

* api dump

* Fix Changelog

* Fix tests

* [SR] Remove configuration from start() method (#4454)

* Remove configuration from start() method

* Open up onConfigurationChanged for Hybrid SDKs

* Address logging concerns

* Format code

* Cache last known config

* Update sentry-android-replay/src/main/java/io/sentry/android/replay/capture/BaseCaptureStrategy.kt

Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>

* Fix order

* Fix compile issue

---------

Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>

---------

Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants