Bump Firebase BOM 33.7.0 → 34.9.0, remove KTX modules#1031
Merged
Conversation
BOM 34.0.0 removed the deprecated -ktx modules (Kotlin extensions are now in the main modules). Switch all Firebase dependencies from -ktx to main artifacts: firebase-auth, firebase-messaging, firebase-analytics, firebase-config, firebase-crashlytics. This also upgrades firebase-crashlytics from 19.3.0 to 20.0.4, which ships proper R8 full mode consumer rules — the ComponentRegistrar constructor keep rule from the previous commit is no longer needed and is removed. Verified: Crashlytics 20.0.4 initializes correctly without the keep rule on AGP 9 with R8 full mode. Unit tests pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6a971b4 to
8fee5fe
Compare
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.
Summary
-ktxmodules to main artifacts (KTX extensions are now included in the main modules as of BOM 34.0.0)ComponentRegistrarProGuard keep rule — firebase-crashlytics 20.0.4 (in BOM 34.9.0) ships proper R8 full mode consumer rules, so the workaround from Fix Crashlytics not initializing due to R8 stripping constructors #1030 is no longer neededWhy
BOM 33.7.0 shipped firebase-crashlytics 19.3.0, whose consumer ProGuard rules didn't account for R8 full mode (AGP 9 default) stripping
ComponentRegistrarno-arg constructors. BOM 34.9.0 ships firebase-crashlytics 20.0.4 which fixes this upstream.Test plan
🤖 Generated with Claude Code