Skip to content

Commit 21abf54

Browse files
committed
삼성카드 백신 앱 onestore 대응
1 parent 8ec0884 commit 21abf54

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

paymentsdk/src/main/java/com/tosspayments/paymentsdk/view/TossPaymentView.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ class TossPaymentView(context: Context, attrs: AttributeSet? = null) :
118118
}
119119
}
120120
} else {
121+
/*
122+
* 삼성카드 백신 앱 onestore 링크 대응
123+
*/
124+
if (requestedUrl.startsWith("https://m.onestore") || requestedUrl.startsWith("https://onesto.re")) {
125+
context.startActivity(Intent(Intent.ACTION_VIEW, uri))
126+
return true
127+
}
121128
return false
122129
}
123130
} ?: false

0 commit comments

Comments
 (0)