Conversation
This was referenced Aug 13, 2026
Resolve the auto-installed Timber integration's Logs opt-in lazily when the integration registers. This honors programmatic configuration and manifest overrides applied after default integrations are constructed. Co-Authored-By: Claude <noreply@anthropic.com>
adinauer
force-pushed
the
fix/timber-lazy-logs-option
branch
from
August 13, 2026 11:46
d7c56cc to
6e791e5
Compare
📲 Install BuildsAndroid
|
Contributor
Performance metrics 🚀
|
4 of 8 tasks
adinauer
marked this pull request as ready for review
August 13, 2026 13:41
adinauer
requested review from
0xadam-brown,
markushi,
romtsn and
runningcode
as code owners
August 13, 2026 13:41
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 4d120ff. Configure here.
This was referenced Aug 14, 2026
Closed
8 tasks
Hide the lazy evaluator constructor from the supported Kotlin API while retaining Java access for Android integration wiring. Use a lambda instead of a method reference for compatibility with older Android Gradle plugins. Co-Authored-By: Claude <noreply@anthropic.com>
adinauer
added a commit
that referenced
this pull request
Oct 1, 2026
Merge the latest Timber lazy-option fixes from PR #5964 into the stack tip. Preserve the renamed capture options and revised constructor API while retaining the internal lazy constructor and lambda wiring. Co-Authored-By: Claude <noreply@anthropic.com>
This branch has not been deployed
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
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.

PR Stack (Logs and Metrics Enable Flags)
📜 Description
Makes the auto-installed Timber integration resolve
timberLogsEnabledlazily when the integration registers rather than snapshotting it while Android default integrations are constructed.This honors the final option value after the Android configuration callback, including both programmatic opt-in and programmatic override of manifest configuration. Existing boolean constructors continue to behave as fixed values for manually installed integrations.
💡 Motivation and Context
Android installs default integrations before invoking the user's options callback so users can remove or replace them. Passing the current boolean value into Timber at that earlier point caused later programmatic configuration to be ignored.
💚 How did you test it?
./gradlew :sentry-android-timber:testReleaseUnitTest :sentry-android-core:testReleaseUnitTest./gradlew spotlessApply apiDumpfalse -> trueand manifesttrue -> callback false📝 Checklist
sendDefaultPIIis enabled.#skip-changelog