feat(fcm): 푸시 딥링크 파라미터를 추가해 알림 화면 이동을 지원한다
This commit is contained in:
@@ -28,6 +28,7 @@ import kr.co.vividnext.sodalive.content.translation.ContentTranslationRepository
|
||||
import kr.co.vividnext.sodalive.content.translation.TranslatedContent
|
||||
import kr.co.vividnext.sodalive.explorer.ExplorerQueryRepository
|
||||
import kr.co.vividnext.sodalive.extensions.convertLocalDateTime
|
||||
import kr.co.vividnext.sodalive.fcm.FcmDeepLinkValue
|
||||
import kr.co.vividnext.sodalive.fcm.FcmEvent
|
||||
import kr.co.vividnext.sodalive.fcm.FcmEventType
|
||||
import kr.co.vividnext.sodalive.i18n.LangContext
|
||||
@@ -463,7 +464,9 @@ class AudioContentService(
|
||||
message = audioContent.title,
|
||||
recipients = listOf(audioContent.member!!.id!!),
|
||||
isAuth = null,
|
||||
contentId = contentId
|
||||
contentId = contentId,
|
||||
deepLinkValue = FcmDeepLinkValue.CONTENT,
|
||||
deepLinkId = contentId
|
||||
)
|
||||
)
|
||||
|
||||
@@ -478,7 +481,9 @@ class AudioContentService(
|
||||
args = listOf(audioContent.title),
|
||||
isAuth = audioContent.isAdult,
|
||||
contentId = contentId,
|
||||
creatorId = audioContent.member!!.id
|
||||
creatorId = audioContent.member!!.id,
|
||||
deepLinkValue = FcmDeepLinkValue.CONTENT,
|
||||
deepLinkId = contentId
|
||||
)
|
||||
)
|
||||
}
|
||||
@@ -500,7 +505,9 @@ class AudioContentService(
|
||||
args = listOf(audioContent.title),
|
||||
isAuth = audioContent.isAdult,
|
||||
contentId = audioContent.id!!,
|
||||
creatorId = audioContent.member!!.id
|
||||
creatorId = audioContent.member!!.id,
|
||||
deepLinkValue = FcmDeepLinkValue.CONTENT,
|
||||
deepLinkId = audioContent.id!!
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ import kr.co.vividnext.sodalive.content.AudioContentRepository
|
||||
import kr.co.vividnext.sodalive.content.LanguageDetectEvent
|
||||
import kr.co.vividnext.sodalive.content.LanguageDetectTargetType
|
||||
import kr.co.vividnext.sodalive.content.order.OrderRepository
|
||||
import kr.co.vividnext.sodalive.fcm.FcmDeepLinkValue
|
||||
import kr.co.vividnext.sodalive.fcm.FcmEvent
|
||||
import kr.co.vividnext.sodalive.fcm.FcmEventType
|
||||
import kr.co.vividnext.sodalive.i18n.LangContext
|
||||
@@ -91,7 +92,9 @@ class AudioContentCommentService(
|
||||
args = listOf(audioContent.title),
|
||||
contentId = audioContentId,
|
||||
commentParentId = parentId,
|
||||
myMemberId = member.id
|
||||
myMemberId = member.id,
|
||||
deepLinkValue = FcmDeepLinkValue.CONTENT,
|
||||
deepLinkId = audioContentId
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user