1월, 2015의 게시물 표시

안드로이드(Android 5.0) Lollipop Webview issue

이미지
안드로이드 롤리팝 Webview 에서 발생한 문제들.. 몇일전부터 안드로이드 5.0 버전으로 테스트중인 Nexus 5 에서 결제작업을 연동중에 문제점들이 발견되기 시작했다. 첫번째 :  의외로 간단하게 해결된 문제 HTTPS > HTTP 전송시 내장 브라우저에서 block 시켜 데이터 전송이  안되는 문제였다.  [blocked] The page at 'https://xxx' was loaded over HTTPS, but ran insecure content from http://xxx.css': this content should also be loaded over HTTPS. 라는 메세지를 콘솔창으로 마구 뱉는 문제였다... 이 문제는 롤리팝에서 변경된 문제였다. 구글링 해보았으나 실제로 안드로이드 관련정보는 찾을수 없었고 해결방안은 Anroid 5.0 Changes 를 보고 찾을 수 있었다. WebView If your app targets API level 21 or higher: The system blocks mixed content and third party cookies by default. To allow mixed content and third party cookies, use the setMixedContentMode() and setAcceptThirdPartyCookies() methods respectively. The system now intelligently chooses portions of the HTML document to draw. This new default behavior helps to reduce memory footprint and increase performance. If you want to render the whole document at once,

무료함을 느낄즈음 시작하는 블로그

나는 개발자로써 어느정도까지 역량인지.. 매번 무료함을 느끼고 살아가는 것 같다. 내 멋대로 개발 및 IT 정보를 공유하고자 한다.