Commit 425669f
committed
WebView 오류 처리 개선
결제 진행 중 발생하는 네트워크 오류를 브라우저와 유사하게 처리하도록 개선:
- 기본 오류 화면 표시 방지
- iOS/macOS에서 -1005 오류(네트워크 연결 끊김) 무시
- 카드사 앱에서 돌아올 때 폴링 중인 HTTP 요청이 중단되어 발생
- 기타 오류는 사용자에게 알림으로 표시1 parent cdfcb3b commit 425669f
File tree
1 file changed
+17
-1
lines changed- packages/iamport-react-native/src/components/Payment
1 file changed
+17
-1
lines changedLines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
132 | 148 | | |
133 | 149 | | |
134 | 150 | | |
| |||
0 commit comments