-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
51 lines (42 loc) · 1.95 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
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-extra-events"
version="1.0.0">
<name>Cordova Plugin Extra Events</name>
<description>Cordova Plugin for extra lifecycle events related to the app going to and leaving the background.</description>
<license>MIT</license>
<keywords>cordova,events,onPause,active,background</keywords>
<repo>https://github.com/distinctdan/cordova-plugin-extra-events</repo>
<!-- <issue>https://issues.apache.org/jira/browse/CB/component/12320636</issue>-->
<js-module src="www/extraEvents.js" name="ExtraEvents">
<clobbers target="window.plugins.ExtraEvents"/>
</js-module>
<engines>
<engine name="cordova" version=">=9" />
<engine name="cordova-android" version=">=8" />
<engine name="cordova-ios" version=">=5" />
</engines>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ExtraEvents">
<param name="android-package" value="org.apache.cordova.extraEvents.ExtraEvents"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/ExtraEvents.java" target-dir="src/org/apache/cordova/extraEvents" />
<source-file src="src/android/CdvExtraEventsWindowCallback.java" target-dir="src/org/apache/cordova/extraEvents" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file parent="/*" target="config.xml" >
<feature name="ExtraEvents">
<param name="ios-package" value="ExtraEvents"/>
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/ExtraEvents.h" />
<source-file src="src/ios/ExtraEvents.m" />
<framework src="AVFoundation.framework" />
</platform>
</plugin>