Skip to content

Commit b2e4ac2

Browse files
author
ehowlsla
committed
결제안정성 업데이트
1 parent dece375 commit b2e4ac2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

BootpayWebView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040

4141
final class BootpayWebView extends WebView {
42-
private static final String BOOTPAY = "https://inapp.bootpay.co.kr/2.0.3/production.html";
42+
private static final String BOOTPAY = "https://inapp.bootpay.co.kr/2.0.4/production.html";
4343

4444
private ConnectivityManager connManager;
4545

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ allprojects {
2222
## build.gradle (Modlue):
2323
```gradle
2424
dependencies {
25-
compile 'com.github.bootpay:client_android_java:2.0.3'
25+
compile 'com.github.bootpay:client_android_java:2.0.4'
2626
}
2727
```
2828

bootpay/src/main/java/kr/co/bootpay/BootpayWebView.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import java.net.URISyntaxException
2626
internal class BootpayWebView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0): WebView(context, attrs, defStyleAttr) {
2727

2828
companion object {
29-
private const val BOOTPAY = "https://inapp.bootpay.co.kr/2.0.3/production.html"
29+
private const val BOOTPAY = "https://inapp.bootpay.co.kr/2.0.4/production.html"
3030

3131
private const val ERROR = -2
3232

@@ -227,7 +227,8 @@ internal class BootpayWebView @JvmOverloads constructor(context: Context, attrs:
227227
}
228228

229229
private fun registerAppId() {
230-
load("$(\"script[data-boot-app-id]\").attr(\"data-boot-app-id\", '${request!!.application_id}');")
230+
load("window.BootPay.setApplicationId('${request!!.application_id}');")
231+
// load("$(\"script[data-boot-app-id]\").attr(\"data-boot-app-id\", '${request!!.application_id}');")
231232
}
232233

233234
fun transactionConfirm(data: String?) {

0 commit comments

Comments
 (0)