Clear WebView cache and temporary device files on command.
You can trigger the native cache purging interface (which deletes temporary assets, cookies, and local database cache) using two primary integration options:
Use a custom URL protocol in standard anchor tags. Nativine intercepts this trigger and launches the native purge confirmation dialog:
<a href="nativine://cache-purge" class="app-only">Clear App Cache</a>
Trigger the purge confirmation programmatically from settings forms or account dashboards:
if (window.Nativine) {
window.Nativine.purgeCache();
}