우루르
우루르
React-native 위젯 문의
PaymentMethodWidget가 가끔 안나오는때가 있는데 혹시 원인이 있을까요..? const paymentWidgetControl = usePaymentWidget(); const [paymentMethodWidgetControl, setPaymentMethodWidgetControl] = useState<PaymentMethodWidgetControl | null>(null); <PaymentMethodWidget selector="payment-methods" onLoadEnd={() => { paymentWidgetControl .renderPaymentMethods( 'payment-methods', {value: price}, { variantKey: 'DEFAULT', }, ) .then((control: PaymentMethodWidgetControl) => { setPaymentMethodWidgetControl(control); }); }} />
6 replies
React Native 위젯 연동시 Warning이 발생합니다.
다시한번더 빌드해보니 이제 발생하지 않는것 같네요.. ! 감사합니다!
12 replies
React Native 위젯 연동시 Warning이 발생합니다.
1.3.4 버전으로 올렸으나
WARN 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=SyntaxError: Can't create duplicate variable: 'paymentMethodWidget', WKJavaScriptExceptionColumnNumber=0, NSLocalizedDescription=A JavaScript exception occurred}
WARN 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=SyntaxError: Can't create duplicate variable: 'paymentMethodWidget', WKJavaScriptExceptionColumnNumber=0, NSLocalizedDescription=A JavaScript exception occurred}
Warning이 사라지지 않았습니다...
12 replies
React Native 위젯 연동시 Warning이 발생합니다.
네 동작에는 이상이 없습니다. 하나 발생하는 문제는 신용카드무이자할부안내 클릭 후 뒤로가기를 터치했을때 이용약관말고는 사라지는 문제가 있습니다. 1.3.4 버전으로 올려 진행해보고 다시 말씀드리도록 하겠습니다 !
12 replies
React Native 위젯 연동시 Warning이 발생합니다.
어떤걸 말씀하시는걸까요 ?? 앱에서 실행시에 제가 설정한 위젯은 잘 나오고, 결제까지 테스트가 가능하나,
WARN 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=3, WKJavaScriptExceptionMessage=ReferenceError: Can't find variable: PaymentWidget, WKJavaScriptExceptionColumnNumber=33, WKJavaScriptExceptionSourceURL=about:blank, NSLocalizedDescription=A JavaScript exception occurred}
WARN 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=3, WKJavaScriptExceptionMessage=ReferenceError: Can't find variable: PaymentWidget, WKJavaScriptExceptionColumnNumber=33, WKJavaScriptExceptionSourceURL=about:blank, NSLocalizedDescription=A JavaScript exception occurred}
PaymentMethodWidget가 랜더링 될때마다, 계속해서 이 Warning이 나옵니다.
12 replies