forked from mgcrea/cordova-actionsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
47 lines (36 loc) · 1.27 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://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.apache.cordova.plugins.ActionSheet"
version="1.0.0">
<name>ActionSheet</name>
<asset src="www/ActionSheet.js" target="ActionSheet.js" />
<!-- android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="org.apache.cordova.plugins.ActionSheet"
android:label="@string/app_name">
<intent-filter>
</intent-filter>
</activity>
</config-file>
<!-- Cordova 1.5 - 1.9 -->
<config-file target="res/xml/plugins.xml" parent="/plugins">
<plugin name="ActionSheet"
value="org.apache.cordova.plugins.ActionSheet"/>
</config-file>
<!-- Cordova 2.0.0 -->
<config-file target="res/xml/config.xml" parent="/cordova/plugins">
<plugin name="ActionSheet"
value="org.apache.cordova.plugins.ActionSheet"/>
</config-file>
<source-file src="src/android/ActionSheet.java"
target-dir="org/apache/cordova/plugins/ActionSheet" />
</platform>
<!-- ios -->
<platform name="ios">
<plugins-plist key="ActionSheet" />
<header-file src="ActionSheet.h" />
<source-file src="ActionSheet.m" />
</platform>
</plugin>