forked from moderna/cordova-plugin-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
42 lines (36 loc) · 1.54 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="at.modalog.cordova.plugin.cache"
version="1.0.0">
<name>Cache</name>
<repo>https://github.com/moderna/cordova-plugin-cache.git</repo>
<keywords>webview,cache,clear,android,ios</keywords>
<license>MIT</license>
<author>Modern Alchemists OG</author>
<description>
<p>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.</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="at.modalog.cordova.plugin.cache.Cache"/>
</feature>
</config-file>
<source-file src="src/android/Cache.java" target-dir="src/at/modalog/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>