2.0.0 • Published 9 months ago

capacitor-plugin-webview-cache v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
9 months ago

Capacitor WebViewCache Plugin

The native Android WebView caches images. If images are replaced on the server but keep the same filename, the WebView still shows the cached images. This plugin makes it possible to clear the WebView cache if needed.

What does it do?

The plugin calls the native WebView.clearCache(true) method that clears the cache and deletes all cache files.

Install

npm install capacitor-plugin-webview-cache
npx cap sync

Usage

import { Plugins } from '@capacitor/core';

const { WebViewCache } = Plugins;

...

WebViewCache.clearCache();
2.0.0

9 months ago

1.0.0

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago