노티플라이
- 앱푸시를 보내면 빈 알림이 표시되는 버그 수정
This commit is contained in:
@@ -35,7 +35,7 @@ android {
|
|||||||
applicationId "kr.co.vividnext.sodalive"
|
applicationId "kr.co.vividnext.sodalive"
|
||||||
minSdk 23
|
minSdk 23
|
||||||
targetSdk 34
|
targetSdk 34
|
||||||
versionCode 151
|
versionCode 152
|
||||||
versionName "1.31.0"
|
versionName "1.31.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -20,7 +20,9 @@ class SodaFirebaseMessagingService : FirebaseMessagingService() {
|
|||||||
if (SharedPreferenceManager.token.isNotBlank()) {
|
if (SharedPreferenceManager.token.isNotBlank()) {
|
||||||
when {
|
when {
|
||||||
remoteMessage.data.isNotEmpty() -> {
|
remoteMessage.data.isNotEmpty() -> {
|
||||||
sendNotification(remoteMessage.data)
|
if (remoteMessage.data["message"]?.isNotBlank() == true) {
|
||||||
|
sendNotification(remoteMessage.data)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user