Skip to content

Commit 91e50ea

Browse files
authored
fix(notifications): Update to latest firebase bom (#3086)
1 parent f3814d8 commit 91e50ea

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

aws-push-notifications-pinpoint-common/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ dependencies {
3636
implementation(libs.androidx.appcompat)
3737
implementation(libs.androidx.annotation)
3838
implementation(libs.androidx.core)
39-
implementation(libs.firebasemessaging)
39+
40+
implementation(platform(libs.firebase.bom))
41+
implementation(libs.firebase.messaging)
4042

4143
testImplementation(libs.test.junit)
4244
testImplementation(libs.test.mockk)

aws-push-notifications-pinpoint/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,16 @@ android {
2828
}
2929

3030
dependencies {
31+
3132
implementation(project(":core"))
3233
implementation(project(":aws-core"))
3334
implementation(project(":common-core"))
3435
implementation(project(":aws-pinpoint-core"))
3536

3637
implementation(project(":aws-push-notifications-pinpoint-common"))
37-
api(libs.firebasemessaging)
38+
39+
api(platform(libs.firebase.bom))
40+
api(libs.firebase.messaging)
3841

3942
implementation(libs.aws.http)
4043
implementation(libs.aws.pinpoint)

gradle/libs.versions.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ binary-compatibility-validator = "0.14.0"
2626
coroutines = "1.7.3"
2727
desugar = "1.2.0"
2828
espresso = "3.3.0"
29+
firebase-bom = "33.16.0"
2930
fcm = "23.1.0"
3031
gson = "2.8.9"
3132
jetbrains-annotations = "26.0.2"
@@ -92,7 +93,8 @@ aws-smithy-http = { module = "aws.smithy.kotlin:http-client-jvm", version.ref =
9293
aws-smithy-okhttp4 = { module = "aws.smithy.kotlin:http-client-engine-okhttp4", version.ref = "aws-smithy" }
9394
aws-textract = { module = "aws.sdk.kotlin:textract", version.ref = "aws-kotlin" }
9495
aws-translate = { module = "aws.sdk.kotlin:translate", version.ref = "aws-kotlin" }
95-
firebasemessaging = { module = "com.google.firebase:firebase-messaging-ktx", version.ref = "fcm" }
96+
firebase-bom = { module = "com.google.firebase:firebase-bom", version.ref = "firebase-bom" }
97+
firebase-messaging = { module = "com.google.firebase:firebase-messaging" }
9698
google-material = { module = "com.google.android.material:material", version.ref = "material" }
9799
gson = { module = "com.google.code.gson:gson", version.ref = "gson" }
98100
kotlin-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }

0 commit comments

Comments
 (0)