File tree Expand file tree Collapse file tree
core/firebase/src/main/java/com/terning/core/firebase/messageservice Expand file tree Collapse file tree Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments