<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
    xmlns:android="http://schemas.android.com/apk/res/android"
    id="com.tiltshiftfocus.cordova.plugin.clearCache"
    version="1.0.5">

    <name>Clear Cache</name>
    <repo>https://github.com/tiltshiftfocus/cordova-plugin-cache.git</repo>
    <keywords>webview,cache,clear,android,ios</keywords>
    <license>MIT</license>
    <author>Modern Alchemists OG</author>
    <description>
      &lt;p&gt;This is a WebView cache plugin for Phonegap 3.3.0 / Cordova 3.3.1 supporting Android (>=2.3.3) and iOS(>=6.0). It allows to clear the cordova webview cache.&lt;/p&gt;
    </description>

    <js-module src="www/Cache.js" name="Cache">
        <clobbers target="cache" /><!-- will be available under window.cache -->
    </js-module>

    <!-- android -->
    <platform name="android">
        <config-file target="res/xml/config.xml" parent="/*">
            <feature name="Cache" >
                <param name="android-package" value="com.sharinglabs.cordova.plugin.cache.Cache"/>
            </feature>
        </config-file>

        <source-file src="src/android/Cache.java" target-dir="src/com/sharinglabs/cordova/plugin/cache" />
    </platform>
    
    <!-- ios -->
    <platform name="ios">
        <config-file target="config.xml" parent="/*">
            <feature name="Cache">
                <param name="ios-package" value="Cache" />
            </feature>
        </config-file>

        <header-file src="src/ios/Cache.h" />
        <source-file src="src/ios/Cache.m" />
    </platform>
</plugin>