🔥 Problem 👉 코틀린 webview에서 자바스크립트 동작이 안됨. 웹뷰에 특정 옵션을 주지 않으면, alert나 location.href 등 자바스크립트가 동작하지 않습니다. 🧙 Solution 👉 웹뷰에 아래의 옵션을 걸어보세요! //웹뷰 webView.webViewClient = WebViewClient() webView.webChromeClient = WebChromeClient() If I was of any help to you, please buy me coffee 😿😢😥 If you have any questions, please leave them in the comments Buy me a coffee ▶ Youtube Sub 🧭 References [1] reference : h..
코틀린 webview에서 자바스크립트 동작이 안되는 경우
🔥 Problem 👉 코틀린 webview에서 자바스크립트 동작이 안됨. 웹뷰에 특정 옵션을 주지 않으면, alert나 location.href 등 자바스크립트가 동작하지 않습니다. 🧙 Solution 👉 웹뷰에 아래의 옵션을 걸어보세요! //웹뷰 webView.webViewClient = WebViewClient() webView.webChromeClient = WebChromeClient() If I was of any help to you, please buy me coffee 😿😢😥 If you have any questions, please leave them in the comments Buy me a coffee ▶ Youtube Sub 🧭 References [1] reference : h..
2021.04.30