Android-SmartWebView
Android-SmartWebView copied to clipboard
Cache issue
Is your feature request related to a problem? Please describe. When users are logged in web browser they keep login even after few days where as on webview users have to login again and again for same website
Describe the solution you'd like Any idea what settings like Service Workers or something like myWebView.getSettings().setAppCacheEnabled(true); which i guess is deprecated now
Describe alternatives you've considered or some other way we can enable caching for user login details
Additional context Add any other context or screenshots about the feature request here.
I'm sorry, are you using Smart WebView? or asking for a normal webview? You should use cookies better to get a hold of login sessions.
HI i am using Smart WebView. On website we have used cookies only and thats why users are logged in when they return after days
I use cookies for logins with smartwebview and they work flawlessly. I just have an expiration on each cookie. Also you control the cache on a server level. Have the server check the cache of the device and refresh the devices content after so many days. On the device that smartwebview is running clear the cache under whatever your app name is. It will be under Settings/Apps. This also has cleared up issues I have had in the past.