A Cordova plugin (v1.3.8, last updated 2017) that clears the WebView cache on Android and iOS. It exposes a single `window.CacheClear` function requiring a success and error callback. On iOS it deletes temporary files (downloaded images), while on Android it wipes persistent data including localStorage, stored files, and cache. Compatibility requires Cordova >=6.1.1 and Android >=4.1 or iOS >=6.0. No updates since 2017; not recommended for new projects.
npm install cordova-plugin-cache-clearNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates installation, 'deviceready' event, callback usage, and a Promise wrapper for the CacheClear function.
Do not use if you need to preserve user data; consider alternative Android-specific solutions.
Use cordova-plugin-cleartext or custom fork; no official replacement.
Test thoroughly on target platforms; consider native clearing methods.
Ensure you call within deviceready listener: document.addEventListener('deviceready', ...). Verify plugin added with 'cordova plugin list'.Use window.CacheClear (or cast as any: (window as any).CacheClear).
Use: cordova plugin add cordova-plugin-cache-clear
No dependency data recorded yet.