Repository navigation
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app no longer compiles with this BoM: firebase-messaging 26 deprecates two APIs the app uses, and
allWarningsAsErrorsmakes those warnings errors.BoM 35.x moves
firebase-messagingfrom 25.0.1 to 26.0.1, which deprecatesonNewTokenanddeleteToken.build-and-testfails at:app:compileDevDebugKotlin(run 43028926903):Both APIs still exist in 26.x, and the app uses nothing else from Firebase. That is
FcmService.onMessageReceived/onNewTokenanddeleteToken()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.