gree / unity-webview

zlib License
2.25k stars 688 forks source link

If the image among the elements included in the https link is http, it does not load properly. #1084

Open Daekyo-Jeong opened 1 month ago

Daekyo-Jeong commented 1 month ago

Hi, I am developing an Android app with Unity.

Unity for Android / SDK 34

I am accessing various links using webview, but I cannot fully load the http image element belonging to https.

UNITYWEBVIEW_ANDROID_USES_CLEARTEXT_TRAFFIC android:usesCleartextTraffic="true" in that config and Manifest file I set it up, but it still didn't work.

I see this option in Android web settings. Is it possible to enable it?

MIXED_CONTENT_ALWAYS_ALLOW In this mode, the WebView will allow a secure origin to load content from any other origin, even if that origin is insecure. MIXED_CONTENT_COMPATIBILITY_MODE In this mode, the WebView will attempt to be compatible with the approach of a modern web browser with regard to mixed content. MIXED_CONTENT_NEVER_ALLOW In this mode, the WebView will not allow a secure origin to load content from an insecure origin.

KojiNakamaru commented 1 month ago

I added SetMixedContentMode() in #1085 and updated binaries. Could you please try the latest?