Repository navigation
chore: bump com.google.firebase:firebase-bom from 34.8.0 to 35.1.0 - #1861
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps com.google.firebase:firebase-bom from 34.8.0 to 35.1.0. --- updated-dependencies: - dependency-name: com.google.firebase:firebase-bom dependency-version: 35.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
This PR does not match any of the 1 configured review trigger rule. |
jvsena42
left a comment
There was a problem hiding this comment.
One HIGH, inline: this BoM breaks the build. CI's build-and-test, compose-ui, lint, build-local and build jobs fail at this head.
Dependabot can't apply the fix. Someone has to push the two deprecation annotations to this branch, or bump the BoM in a regular PR instead.
Reviewer model: Claude Opus 5.5 (claude-opus-5-5)
Reasoning effort: not exposed
| detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" } | ||
| detekt-compose-rules = { module = "io.nlopez.compose.rules:detekt", version = "0.6.8" } | ||
| firebase-bom = { module = "com.google.firebase:firebase-bom", version = "34.8.0" } | ||
| firebase-bom = { module = "com.google.firebase:firebase-bom", version = "35.1.0" } |
There was a problem hiding this comment.
The app no longer compiles with this BoM: firebase-messaging 26 deprecates two APIs the app uses, and allWarningsAsErrors makes those warnings errors.
BoM 35.x moves firebase-messaging from 25.0.1 to 26.0.1, which deprecates onNewToken and deleteToken. build-and-test fails at :app:compileDevDebugKotlin (run 43028926903):
w: .../app/src/main/java/to/bitkit/fcm/FcmService.kt:35:18 This declaration overrides a deprecated member but is not marked as deprecated itself. ...
w: .../app/src/main/java/to/bitkit/usecases/WipeWalletUseCase.kt:109:54 'fun deleteToken(): Task<Void!>' is deprecated. Deprecated in Java.
e: warnings found and -Werror specified
Both APIs still exist in 26.x, and the app uses nothing else from Firebase. That is FcmService.onMessageReceived/onNewToken and deleteToken() on wipe. minSdk 28 meets messaging 26's minimum of 24. So the narrow fix keeps behaviour as it is:
FcmService.kt:35: mark the override@Deprecated("..."), or narrowly@Suppress("OVERRIDE_DEPRECATION").WipeWalletUseCase.kt:109:@Suppress("DEPRECATION")on the call site.
Moving to the Firebase installation ID registration is the longer-term route. Once this compiles, a device check should cover a wallet wipe (deleteToken) and one FCM push received.
|
Superseded by #1978. |
Bumps com.google.firebase:firebase-bom from 34.8.0 to 35.1.0.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)