/// <summary> /// Clears all caches. This will removes cached local data of webview. /// </summary> public void ClearCache() { Setup(); #if UNIWEBVIEW3_SUPPORTED UniWebViewInterface.CleanCache(listener.Name); #elif UNIWEBVIEW2_SUPPORTED UniWebViewPlugin.CleanCache(listener.Name); #else WWebViewPlugin.CleanCache(listener.Name); #endif }
/// <summary> /// Clean web view cache. This removes cached local data of web view. /// /// If you need to clear all cookies, use `ClearCookies` instead. /// </summary> public void CleanCache() { UniWebViewInterface.CleanCache(listener.Name); }