노티플라이

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

View File

@ -35,7 +35,7 @@ android {
applicationId "kr.co.vividnext.sodalive"
minSdk 23
targetSdk 34
versionCode 151
versionCode 152
versionName "1.31.0"
}

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)
}
}
}
}