Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] FCM deprecated method 변경 #147

Merged
merged 2 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ dependencies {
implementation("software.amazon.awssdk:s3:2.21.0")

// Firebase
implementation 'com.google.firebase:firebase-admin:9.2.0'
implementation 'com.google.firebase:firebase-admin:9.3.0'

// Logback Discord Appender
implementation('com.github.napstr:logback-discord-appender:1.0.0')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void sendBulk(
){
MulticastMessage message = createBulkMessage(fcmTokens, fcmMessageDto);
try {
FirebaseMessaging.getInstance().sendMulticast(message);
FirebaseMessaging.getInstance().sendEachForMulticast(message);
} catch (FirebaseMessagingException e){
throw new FirebaseException(FirebaseErrorCode.FCM_ERROR);
}
Expand Down
Loading