Telerik-Verified-Plugins / WKWebView

DEPRECATED - this plugin served a purpose in the past, but there are better implementation now
833 stars 150 forks source link

WKWebView Web Security #141

Open GustavoCostaW opened 8 years ago

GustavoCostaW commented 8 years ago

For some reason, the WKWebView can not authenticate to my server, it receive the response, but when I send the other method depending on the authentication it returns that are not allow get response, I managed to fix this in the android disabling web security, I can do this with WKWebView?

EddyVerbruggen commented 8 years ago

What did you do in Android to disable web security? And what's the endpoint of your server (can I inspect the headers)?

GustavoCostaW commented 8 years ago

Hey @EddyVerbruggen thx for reply and u work with cordova plugins, it's amazing, so, I use crosswalk plugin and add http://peter.sh/experiments/chromium-command-line-switches/ in config.xml I add

< preference name="xwalkCommandLine" value="--disable-web-security" / >

I did not understand your question about headers, thank you!

revolunet commented 8 years ago

@GustavoCostaW : please report the exact error message. you may have issue with whitelisting or CORS

caohrong commented 8 years ago

How to solution this problem?