This is a WebView cache plugin for Cordova 6.1.1+ supporting Android (>=4.1) and iOS(>=6.0). It allows to clear the cordova webview cache.
There is one method:
- CacheClear(successCallback, errorCallback)
You may use Cordova CLI as follows:
cordova plugin add cordova-plugin-cache-clear
Android vs. iOS
On iOS, CacheClear deletes temporary files (images that have been downloaded by the app). On Android, CacheClear also deletes all local, persistent data (such as stored files and any data saved to localStorage).