forked from moderna/cordova-plugin-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
46 lines (39 loc) · 1.69 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
43
44
45
46
<?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.1.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 Cordova 6.1.1+ supporting Android (>=4.1) and iOS(>=6.0). It allows to clear the cordova webview cache.</p>
</description>
<!-- android -->
<platform name="android">
<js-module src="www/Cache.js" name="Cache">
<clobbers target="cache" /><!-- will be available under window.cache -->
</js-module>
<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">
<js-module src="www/Cache.js" name="Cache">
<clobbers target="cache" /><!-- will be available under window.cache -->
</js-module>
<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>