Skip to content

gaurav-chandra/Cache-Cleaner-Cordova

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CacheCleaner plugin for phonegap 3

PhoneGap 3 plugin to clear cache on Android.

Install

Assuming the PhoneGap CLI is installed, from the command line run:

phonegap local plugin add https://github.com/sagittaros/CacheCleaner.git

After that, paste this in your config.xml:

<feature name="CacheCleaner">
<param name="android-package" value="org.felixtioh.phonegap.plugins.cachecleaner.CacheCleaner"/>
</feature>

No need to add any js file. It is added automatically.

You can clean you cache by using:

cache_cleaner.delete();

Example:

<button onclick="cache_cleaner.delete();">delete</button>

About

MY FIRST EVER phonegap plugin!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 84.8%
  • JavaScript 15.2%