diff --git a/buildSrc/src/main/java/ProjectProperties.kt b/buildSrc/src/main/java/ProjectProperties.kt index 16c4f3be..df6224d9 100644 --- a/buildSrc/src/main/java/ProjectProperties.kt +++ b/buildSrc/src/main/java/ProjectProperties.kt @@ -1,8 +1,8 @@ import org.gradle.api.JavaVersion object ProjectProperties{ - const val VERSION_CODE = 4 - const val VERSION_NAME = "1.0.1" + const val VERSION_CODE = 6 + const val VERSION_NAME = "1.0.3" const val APPLICATION_ID = "com.comit.simtong" diff --git a/domain/src/main/java/com/comit/domain/exception/ThrowUnknownException.kt b/domain/src/main/java/com/comit/domain/exception/ThrowUnknownException.kt index 3a710d48..f4563436 100644 --- a/domain/src/main/java/com/comit/domain/exception/ThrowUnknownException.kt +++ b/domain/src/main/java/com/comit/domain/exception/ThrowUnknownException.kt @@ -17,6 +17,9 @@ fun throwUnknownException( if (e.message?.contains("NoInternetException") == true) throw NoInternetException() if (e.message?.contains("NoConnectivityException") == true) throw NoInternetException() + // TODO(limsaehyun): 홈 화면에 재접속 할 경우 Job 에러가 발생. 임시로 무시해놓은 상태 처리해야 함 + if (e.message?.contains("Job was cancelled") == true) return + when (e) { is NoInternetException -> throw NoInternetException() is NoConnectivityException -> throw NoInternetException() diff --git a/feature/feature-home/src/main/java/com/comit/feature_home/screen/SalaryWebViewScreen.kt b/feature/feature-home/src/main/java/com/comit/feature_home/screen/SalaryWebViewScreen.kt index 9287e9f2..2a5c58ce 100644 --- a/feature/feature-home/src/main/java/com/comit/feature_home/screen/SalaryWebViewScreen.kt +++ b/feature/feature-home/src/main/java/com/comit/feature_home/screen/SalaryWebViewScreen.kt @@ -17,6 +17,15 @@ fun SalaryWebViewScreen() { WebView( state = webViewState, + onCreated = { webView -> + with(webView) { + settings.run { + javaScriptEnabled = true + domStorageEnabled = true + javaScriptCanOpenWindowsAutomatically = false + } + } + }, ) }