-
Notifications
You must be signed in to change notification settings - Fork 32
/
plugin.xml
46 lines (40 loc) · 1.42 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://apache.org/cordova/ns/plugins/1.0"
id="kr.co.joycorp.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="kr.co.joycorp.cordova.exitapp.ExitApp" />
</feature>
</config-file>
<source-file src="src/android/ExitApp.java" target-dir="src/kr/co/joycorp/cordova/exitapp" />
</platform>
<!-- ios -->
<platform name="ios">
<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>