Skip to content

Commit cc60320

Browse files
author
ehowlsla
committed
inicis iframe bug fixed
1 parent 72ce553 commit cc60320

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import kr.co.bootpay.pref.UserInfo;
3434

3535
public class BootpayWebView extends WebView {
36-
private static final String BOOTPAY = "https://inapp.bootpay.co.kr/3.0.4/production.html";
36+
private static final String BOOTPAY = "https://inapp.bootpay.co.kr/3.0.5/production.html";
3737
//private static final String BOOTPAY = "https://inapp.bootpay.co.kr/2.1.1/production.html";
3838

3939
private Dialog dialog;
@@ -573,7 +573,11 @@ public boolean onCreateWindow(WebView view, boolean isDialog, boolean isUserGest
573573
if (isNewWindow(url)) {
574574
start(view, createFrom(url));
575575
} else if (resultMsg != null) {
576-
WebView newWindow = new WebView(view.getContext());
576+
BootpayWebView newWindow = new BootpayWebView(view.getContext());
577+
newWindow.setRequest(request)
578+
.setDialog(dialog)
579+
.setOnResponseListener(listener);
580+
577581
addView(newWindow);
578582
WebView.WebViewTransport tr = (WebView.WebViewTransport) resultMsg.obj;
579583
tr.setWebView(newWindow);

bootpay/src/main/java/kr/co/bootpay/analytics/AnalyticsPresenter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
public class AnalyticsPresenter {
2121
AnalyticsService service;
2222
// Scheduler thread;
23-
private final String ver = "3.0.4";
23+
private final String ver = "3.0.5";
2424

2525
public AnalyticsPresenter(AnalyticsService service) {
2626
this.service = service;

sample/src/main/java/bootpay/co/kr/samplepayment/NativeActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ public void onClick_request(View v) {
7676
Bootpay.init(getFragmentManager())
7777
.setContext(this)
7878
.setApplicationId(application_id) // 해당 프로젝트(안드로이드)의 application id 값
79-
.setPG(PG.KCP) // 결제할 PG 사
80-
.setMethod(Method.VBANK)
79+
.setPG(PG.INICIS) // 결제할 PG 사
80+
.setMethod(Method.BANK)
8181
// .setUserPhone("010-1234-5678") // 구매자 전화번호
8282
.setUX(UX.PG_DIALOG)
8383
// .setMethod(Method.CARD) // 결제수단

0 commit comments

Comments
 (0)