WebView
-
Android WebView mixed content 허용하기( 안드로이드 웹뷰 엑박 문제)Android 2020. 10. 25. 04:00
mixed content https 연결을 사용하는 사이트에서 http URL 콘텐츠가 혼재된것 안드로이드 5.0 부터 경우 이러한 mixed content를 차단한다 웹뷰 세팅 webView.getSettings().setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW); AndroidManifest.xml (안드로이드 8.0 버전 이상일 경우 설정) 안드로이드 8.0 (API 26) 부터 clearTextHTTP를 차단한다. Http 접근을 하려면 활성화 해야한다. 위의 코드는 모든 Http URL에 대한 접근을 허용한다. 참고 : www.programmersought.com/article/43551161247/