노티플라이

- 앱푸시를 보내면 빈 알림이 표시되는 버그 수정
This commit is contained in:
2025-03-12 18:09:54 +09:00
parent 8c013f7126
commit b08eb896a7
2 changed files with 4 additions and 2 deletions

View File

@@ -20,7 +20,9 @@ class SodaFirebaseMessagingService : FirebaseMessagingService() {
if (SharedPreferenceManager.token.isNotBlank()) {
when {
remoteMessage.data.isNotEmpty() -> {
sendNotification(remoteMessage.data)
if (remoteMessage.data["message"]?.isNotBlank() == true) {
sendNotification(remoteMessage.data)
}
}
}
}