forked from RahulCV/cordova-plugin-memory-warning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
executable file
·44 lines (36 loc) · 1.76 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-memory-warning" version="1.1.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>CordovaPluginMemoryWarning</name>
<description>Cordova Memory Warning Plugin</description>
<license>MIT</license>
<keywords>cordova,memory,warning</keywords>
<repo>https://github.com/RahulCV/cordova-plugin-memory-warning.git</repo>
<issue>https://github.com/RahulCV/cordova-plugin-memory-warning/issues</issue>
<js-module name="CordovaPluginMemoryWarning" src="www/CordovaPluginMemoryWarning.js">
<clobbers target="cordova.plugins.CordovaPluginMemoryWarning" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CordovaPluginMemoryWarning" >
<param name="android-package" value="com.counterplay.memory.CordovaPluginMemoryWarning"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/CordovaPluginMemoryWarning.java" target-dir="src/com/counterplay/memory" />
<hook type="before_build" src="scripts/android-hook-before-build.js" />
<!-- "cordova run" does not fire build hooks, see https://issues.apache.org/jira/browse/CB-8287 -->
<hook type="before_run" src="scripts/android-hook-before-build.js" />
</platform>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="CordovaPluginMemoryWarning">
<param name="ios-package" value="CordovaPluginMemoryWarning" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/CordovaPluginMemoryWarning.h" />
<source-file src="src/ios/CordovaPluginMemoryWarning.m" />
</platform>
</plugin>