Skip to content

Commit

Permalink
Publish v1.0.3
Browse files Browse the repository at this point in the history
* 웹뷰 에러 개선
  • Loading branch information
limsaehyun authored Dec 31, 2022
2 parents 669a282 + f86a8f0 commit 599ff0d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/ProjectProperties.kt
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ fun SalaryWebViewScreen() {

WebView(
state = webViewState,
onCreated = { webView ->
with(webView) {
settings.run {
javaScriptEnabled = true
domStorageEnabled = true
javaScriptCanOpenWindowsAutomatically = false
}
}
},
)
}

Expand Down

0 comments on commit 599ff0d

Please sign in to comment.