Skip to content

Commit a0950d9

Browse files
committed
[FEAT/#382] buildDeeplink 함수명 수정
1 parent 10853db commit a0950d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/firebase/src/main/java/com/terning/core/firebase/messageservice/TerningMessagingService.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class TerningMessagingService : FirebaseMessagingService() {
8686
) {
8787
val notifyId = Random().nextInt()
8888
val isForeground = isAppInForeground()
89-
val deeplink = buildRedirect(type, isForeground)
89+
val deeplink = buildDeeplink(type, isForeground)
9090
val intent = navigatorProvider.getMainActivityIntent(deeplink = deeplink).apply {
9191
action = Intent.ACTION_VIEW
9292
data = deeplink.toUri()
@@ -143,7 +143,7 @@ class TerningMessagingService : FirebaseMessagingService() {
143143
} == true
144144
}
145145

146-
private fun buildRedirect(type: String, isForeground: Boolean): String {
146+
private fun buildDeeplink(type: String, isForeground: Boolean): String {
147147
val base = NotificationRedirect.from(type) ?: return ""
148148

149149
return if (isForeground) DeeplinkDefaults.build(base.path)

0 commit comments

Comments
 (0)