Skip to content

Conversation

@markushi
Copy link
Member

📜 Description

Just like #4216, but for our main branch.
Adds the follow up fix as well: #4244

💡 Motivation and Context

Fixes #4241

💚 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

markushi and others added 2 commits March 12, 2025 08:19
…ion is not running (#4216)

* Ensure app start type is set, even when ActivityLifecycleIntegration is not activated

* Update Changelog

* Add proper tests

* Add code comments

* Unify handling

* Move all app start handling to AppStartMetrics

* Make tests happy

* Fix flaky RateLimiter test (#4100)

* changed RateLimiterTest `close cancels the timer` to use reflection

* Update sentry-android-core/src/main/java/io/sentry/android/core/ActivityLifecycleIntegration.java

Co-authored-by: Stefano <[email protected]>

* Address PR feedback

* Fix post-merge conflict

* Format code

* Address PR feedback

* Address PR feedback

* Update sentry-android-core/src/main/java/io/sentry/android/core/performance/AppStartMetrics.java

---------

Co-authored-by: Stefano <[email protected]>
Co-authored-by: Sentry Github Bot <[email protected]>
@github-actions
Copy link
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 437.69 ms 456.35 ms 18.65 ms
Size 1.58 MiB 2.21 MiB 646.84 KiB

@markushi markushi merged commit 0e7364a into main Mar 17, 2025
34 checks passed
@markushi markushi deleted the markushi/fix/determine-app-start-type-via-content-provider-main branch March 17, 2025 07:47
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.

onCreate span is missing in all automatic activity transactions

3 participants