Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

92
Vistas
Cannot clear session of Webview credentials

I am opening the website https://groww.in/ in my webview and I wanted to clear the session (logged-in state) every time the app restarts. I have tried almost every possible solution on the internet but didn't find anything helpful. I have also tried the below-mentioned code but that also didn't work.

CookieSyncManager cookieSyncMngr = CookieSyncManager.createInstance(context);
CookieManager cookieManager = CookieManager.getInstance();
cookieManager.removeAllCookie();

as well as

static void clearWebViewAllCache(Context context, WebView webView) {
try {
  AgentWebConfig.removeAllCookies(null);
  webView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
  context.deleteDatabase("webviewCache.db");
  context.deleteDatabase("webview.db");
  webView.clearCache(true);
  webView.clearHistory();
  webView.clearFormData();
  clearCacheFolder(new File(AgentWebConfig.getCachePath(context)), 0);
} catch (Exception ignore) {
  //ignore.printStackTrace();
  if (AgentWebConfig.DEBUG) {
    ignore.printStackTrace();
  }
 }
}
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda