Closed 1395881288 closed 6 years ago
That error means you need to use https urls eg https://www.baidu.com
I used https urls was https://www.baidu.com
I investigated more. baidu.com doesn't work properly with WKWebview. when I go to https://www.baidu.com it redirects to http://
Here is the fix
settings.userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6";
I added "settings.userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6", it works very well,thank you.
Have you read the README carefully? yes
What version of the product are you using?
On what operating system? macOS High Sierra 10.13.3
If Windows is it? 64bit
Which IDE are you using? IntelliJ and FlexBuilder 4.7
Which version of AIR are you using? 28.0
What steps will reproduce the problem? I run WebViewANE/example the page was blank