From 15dd4a24f139d1000a3ab91ea375c5061b3bbe66 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 Jul 2026 14:25:34 +0000 Subject: [PATCH 1/2] build(deps): bump com.google.firebase:firebase-bom Bumps com.google.firebase:firebase-bom from 34.15.0 to 34.16.0. --- updated-dependencies: - dependency-name: com.google.firebase:firebase-bom dependency-version: 34.16.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 91c2425e1..1f649a389 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -50,7 +50,7 @@ retrofit = "3.0.0" kin-sdk = "2.1.2" grpc-android = "1.82.2" slf4j = "1.7.36" -firebase-bom = "34.15.0" +firebase-bom = "34.16.0" play-service-ml-barcode = "18.3.1" play-services-auth-api-phone = "18.3.1" google-play-billing = "9.1.0" From 6c1455fa272f6e7773152762cbe7119f3bd3d9c2 Mon Sep 17 00:00:00 2001 From: Brandon McAnsh Date: Fri, 10 Jul 2026 17:49:41 -0400 Subject: [PATCH 2/2] fix(notifications): suppress deprecated FCM token APIs pending FID migration firebase-messaging 25.1.0 deprecated getToken/deleteToken/onNewToken in favor of FID-based registration (register/onRegistered). No stable migration guide or backend support yet, so scope-suppress the warnings and track the migration separately. Tracking: https://github.com/firebase/firebase-android-sdk/issues/8087 --- .../flipcash/app/notifications/FirebasePushTokenProvider.kt | 6 ++++++ .../com/flipcash/app/notifications/NotificationService.kt | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/apps/flipcash/shared/notifications/src/main/kotlin/com/flipcash/app/notifications/FirebasePushTokenProvider.kt b/apps/flipcash/shared/notifications/src/main/kotlin/com/flipcash/app/notifications/FirebasePushTokenProvider.kt index 5636e8d25..4e9244c17 100644 --- a/apps/flipcash/shared/notifications/src/main/kotlin/com/flipcash/app/notifications/FirebasePushTokenProvider.kt +++ b/apps/flipcash/shared/notifications/src/main/kotlin/com/flipcash/app/notifications/FirebasePushTokenProvider.kt @@ -10,6 +10,11 @@ import kotlin.coroutines.resume @Singleton class FirebasePushTokenProvider @Inject constructor() : PushTokenProvider { + // TODO(firebase-messaging): 25.1.0 deprecated token-based registration (getToken/deleteToken) + // in favor of FID-based register()/unregister(). Migrate once Firebase ships a stable guide and + // the backend accepts FID registration. + // Tracking: https://github.com/firebase/firebase-android-sdk/issues/8087 + @Suppress("DEPRECATION") override suspend fun getToken(): String? = suspendCancellableCoroutine { cont -> FirebaseMessaging.getInstance().token .addOnCanceledListener { cont.resume(null) } @@ -20,6 +25,7 @@ class FirebasePushTokenProvider @Inject constructor() : PushTokenProvider { .addOnSuccessListener { cont.resume(it) } } + @Suppress("DEPRECATION") override suspend fun deleteToken() { FirebaseMessaging.getInstance().deleteToken() } diff --git a/apps/flipcash/shared/notifications/src/main/kotlin/com/flipcash/app/notifications/NotificationService.kt b/apps/flipcash/shared/notifications/src/main/kotlin/com/flipcash/app/notifications/NotificationService.kt index cb77b340a..7c50f922f 100644 --- a/apps/flipcash/shared/notifications/src/main/kotlin/com/flipcash/app/notifications/NotificationService.kt +++ b/apps/flipcash/shared/notifications/src/main/kotlin/com/flipcash/app/notifications/NotificationService.kt @@ -76,6 +76,10 @@ class NotificationService : FirebaseMessagingService(), @Inject lateinit var chatCoordinator: ChatCoordinator + // TODO(firebase-messaging): 25.1.0 deprecated onNewToken in favor of FID-based onRegistered(). + // Migrate once Firebase ships a stable guide and the backend accepts FID registration. + // Tracking: https://github.com/firebase/firebase-android-sdk/issues/8087 + @Suppress("DEPRECATION") override fun onNewToken(token: String) { super.onNewToken(token) authenticateIfNeeded {