forked from EddyVerbruggen/Toast-PhoneGap-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
executable file
·67 lines (51 loc) · 1.73 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="nl.x-services.plugins.toast"
version="2.0.1">
<name>Toast</name>
<description>
This plugin allows you to show a Toast.
A Toast is a little non intrusive buttonless popup which automatically disappears.
</description>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<js-module src="www/Toast.js" name="Toast">
<clobbers target="window.plugins.toast" />
</js-module>
<js-module src="test/tests.js" name="tests">
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Toast">
<param name="ios-package" value="Toast"/>
</feature>
</config-file>
<header-file src="src/ios/Toast+UIView.h"/>
<source-file src="src/ios/Toast+UIView.m"/>
<header-file src="src/ios/Toast.h"/>
<source-file src="src/ios/Toast.m"/>
<framework src="QuartzCore.framework" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Toast">
<param name="android-package" value="nl.xservices.plugins.Toast" />
</feature>
</config-file>
<source-file src="src/android/nl/xservices/plugins/Toast.java" target-dir="src/nl/xservices/plugins"/>
</platform>
<!-- wp8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="Toast">
<param name="wp-package" value="Toast"/>
</feature>
</config-file>
<source-file src="src/wp8/Toast.cs" />
</platform>
</plugin>