Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,10 @@ dependencies {
implementation(projects.domain.soptamp)
implementation(projects.domain.mypage)
implementation(projects.domain.poke)
implementation(projects.domain.fortune)
implementation(projects.domain.notification)
implementation(projects.domain.home)
implementation(projects.domain.auth)

implementation(projects.data.fortune)
implementation(projects.data.soptamp)
implementation(projects.data.mypage)
implementation(projects.data.poke)
Expand All @@ -146,7 +144,6 @@ dependencies {
implementation(projects.feature.mypage)
implementation(projects.feature.poke)
implementation(projects.feature.notification)
implementation(projects.feature.fortune)
implementation(projects.feature.home)
implementation(projects.feature.main)
implementation(projects.feature.schedule)
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@
android:name=".feature.notification.SchemeActivity"
android:exported="true"
android:launchMode="singleTop"/>
<activity
android:name=".feature.fortune.FortuneActivity"
android:exported="true"
android:launchMode="singleTop" />

<activity
android:name=".feature.main.MainActivity"
android:exported="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ import kotlinx.coroutines.launch
import org.sopt.official.common.navigator.NavigatorProvider
import org.sopt.official.deeplink.AppDeeplinkModule
import org.sopt.official.deeplink.AppDeeplinkModuleRegistry
import org.sopt.official.feature.fortune.deeplink.FortuneDeeplinkModule
import org.sopt.official.feature.fortune.deeplink.FortuneDeeplinkModuleRegistry
import org.sopt.official.localstorage.source.TokenStorage
import org.sopt.official.webview.deeplink.WebDeeplinkModule
import org.sopt.official.webview.deeplink.WebDeeplinkModuleRegistry
Expand All @@ -45,7 +43,7 @@ import org.sopt.official.webview.view.WebViewActivity.Companion.INTENT_URL
import javax.inject.Inject

@AndroidEntryPoint
@DeepLinkHandler(value = [AppDeeplinkModule::class, FortuneDeeplinkModule::class, WebDeeplinkModule::class])
@DeepLinkHandler(value = [AppDeeplinkModule::class, WebDeeplinkModule::class])
class DeepLinkSchemeActivity : AppCompatActivity() {

@Inject
Expand Down Expand Up @@ -83,7 +81,6 @@ class DeepLinkSchemeActivity : AppCompatActivity() {
private fun dispatchDeepLink() {
val deepLinkDelegate = DeepLinkDelegate(
AppDeeplinkModuleRegistry(),
FortuneDeeplinkModuleRegistry(),
WebDeeplinkModuleRegistry()
)
deepLinkDelegate.dispatchFrom(this)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import org.sopt.official.common.navigator.DeepLinkType
import org.sopt.official.common.navigator.NavigatorProvider
import org.sopt.official.feature.attendance.AttendanceActivity
import org.sopt.official.feature.auth.AuthActivity
import org.sopt.official.feature.fortune.FortuneActivity
import org.sopt.official.feature.main.MainActivity
import org.sopt.official.feature.mypage.soptamp.ui.AdjustSentenceActivity
import org.sopt.official.feature.notification.SchemeActivity
Expand Down Expand Up @@ -133,7 +132,6 @@ class NavigatorProviderIntent @Inject constructor(
}
}

override fun getFortuneActivityIntent(): Intent = FortuneActivity.getIntent(context)
override fun getScheduleActivityIntent(): Intent = ScheduleActivity.getIntent(context)

override fun getSoptLogIntent(): Intent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ enum class DeepLinkType(
override fun getIntent(context: Context, userStatus: UserStatus, deepLink: String) =
userStatus.setIntent(navigator.getPokeActivityIntent(userStatus))
},
FORTUNE(SOPTLOG_FORTUNE) {
override fun getIntent(context: Context, userStatus: UserStatus, deepLink: String) =
userStatus.setIntent(navigator.getFortuneActivityIntent())
},
SCHEDULE("home/schedule") {
override fun getIntent(context: Context, userStatus: UserStatus, deepLink: String) =
userStatus.setIntent(navigator.getScheduleActivityIntent())
Expand Down Expand Up @@ -168,5 +164,3 @@ enum class DeepLinkType(
}
}
}

const val SOPTLOG_FORTUNE = "soptlog/fortune"
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ interface NavigatorProvider {
fun getPokeFriendListSummaryActivityIntent(name: String, friendType: String?): Intent
fun getPokeActivityIntent(userStatus: UserStatus): Intent
fun getPokeOnboardingActivityIntent(currentGeneration: Int, userStatus: UserStatus): Intent
fun getFortuneActivityIntent(): Intent
fun getScheduleActivityIntent(): Intent
fun getSoptLogIntent(): Intent

Expand Down
1 change: 0 additions & 1 deletion data/fortune/.gitignore

This file was deleted.

40 changes: 0 additions & 40 deletions data/fortune/build.gradle.kts

This file was deleted.

Empty file removed data/fortune/consumer-rules.pro
Empty file.
27 changes: 0 additions & 27 deletions data/fortune/src/main/AndroidManifest.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading