forked from slickalpha/cordova-plugin-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
42 lines (36 loc) · 1.51 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?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="org.apache.cordova.plugin.cache"
version="1.0.5">
<name>Clear Cache</name>
<repo>https://github.com/andxyz/cordova-plugin-cache.git</repo>
<keywords>webview,cache,clear,android,ios</keywords>
<license>MIT</license>
<author>andxyz</author>
<description>
<p>This is a WebView cache plugin for Cordova 5.4.0 supporting Android (>=2.3.3) and iOS(>=6.0). It allows to clear the cordova webview cache.</p>
</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="org.apache.cordova.plugin.cache.Cache"/>
</feature>
</config-file>
<source-file src="src/android/Cache.java" target-dir="src/com/apache/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>