forked from joycorp/cordova-plugin-exitapp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.xml
49 lines (43 loc) · 1.5 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="go.free.cordova.exitapp"
version="1.0.0">
<name>ExitApp</name>
<description>Implements navigator.app.exitApp on WP8, Android, IOS</description>
<license>Apache 2.0</license>
<keywords>cordova,terminate</keywords>
<js-module src="www/ExitApp.js" name="exitApp">
<merges target="navigator.app" />
</js-module>
<!-- wp8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="ExitApp">
<param name="wp-package" value="ExitApp" />
</feature>
</config-file>
<source-file src="src/wp/ExitApp.cs" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="ExitApp">
<param name="android-package" value="go.free.cordova.ExitApp" />
</feature>
</config-file>
<source-file src="src/android/ExitApp.java" target-dir="src/go/free/cordova" />
</platform>
<!-- ios -->
<platform name="ios">
<js-module src="www/ExitApp.js" name="ExitApp">
<clobbers target="navigator.app" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="ExitApp">
<param name="ios-package" value="ExitApp" />
</feature>
</config-file>
<header-file src="src/ios/ExitApp.h" target-dir="ExitApp"/>
<source-file src="src/ios/ExitApp.m" target-dir="ExitApp"/>
</platform>
</plugin>