parent
8c013f7126
commit
b08eb896a7
|
@ -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)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue