iamport-react-native icon indicating copy to clipboard operation
iamport-react-native copied to clipboard

iOS 본인인증 콜백 에러

Open Kweiza opened this issue 10 months ago • 0 comments

Image

본인인증 시 로딩화면 이후 콜백이 호출되지 않고 아래와 같은 메세지가 출력됩니다.

Error evaluating injectedJavaScript: This is possibly due to an unsupported return type. Try adding true to the end of your injectedJavaScript string. Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=0, WKJavaScriptExceptionMessage=Cannot execute JavaScript in this document, WKJavaScriptExceptionColumnNumber=0, NSLocalizedDescription=A JavaScript exception occurred}

iOS 18.2 iPhone 16 Pro 시뮬레이터 환경입니다.

"iamport-react-native": "^2.0.13",
"react-native-webview": "^13.13.3"

아래 링크의 설명대로 설정도 했습니다. https://github.com/iamport/iamport-react-native/blob/main/manuals/SETTING.md

Kweiza avatar Mar 10 '25 15:03 Kweiza