android - How to persist webview cookies between app executions? -


it possible achieve in android? can find deprecated questions old methods (cookiesynchmanager) not seems work actually.

it possible achieve it? can't find on android developers guide.

thank you

since cookiesynchmanager deprecated, cookiemanager.getinstance() cookiemanager instance entire application. hence, enable

cookiemanager.getinstance().setacceptcookie(true) 

setacceptcookie(boolean accept);

sets whether application's webview instances should send , accept cookies.

https://developer.android.com/reference/android/webkit/cookiemanager.html


Comments

Popular posts from this blog

python - Getting ESC characters and non-printables from UDP socket / buffer -

string - Using python and postgres, variables within execute function? -