The auto-login to the WebView does not work.

  1. Cookies included.
  2. In a normal browser, everything works.
  • what are we going to guess? Maybe you will show us some part of the code or anything that your question would be understood ... - Javoh Dev
  • Show how and what you are doing, but it is better to immediately test the acc to immediately check and give an exact answer. - Shwarz Andrei
  • Well, the code ... I can just say that we have WebView ... everything is turned on ... but autologin does not plow ... - Sergey Gushchin 2:07 pm
  • I may be mistaken, but it seems like such a policy "you cannot remember the login / pass for autologin in WebView". - Wlad
  • If you are given an exhaustive answer, mark it as accepted ^ _ ^ - Suvitruf

1 answer 1

As I recall, it was done with the help of webview.getSettings().setSavePassword(true); .

But starting from API 18, this method is deprecated and will no longer work. The only crutch that I see possible is to save the username / password locally and then fill in the page onLoad myself. But it is very very not security.