-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
executable file
·43 lines (31 loc) · 1.19 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
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova.plugin.nativealert"
version="0.6.4">
<name>NativeAlert</name>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<asset src="www/nativealert.js" target="js/nativealert.js"/>
<js-module src="www/nativealert.js" name="nativealert">
<clobbers target="nativealert" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/widget">
<feature name="NativeAlert">
<param name="ios-package" value="NativeAlert" />
</feature>
</config-file>
<header-file src="src/ios/NativeAlert.h" target-dir="NativeAlert"/>
<source-file src="src/ios/NativeAlert.m" target-dir="NativeAlert"/>
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="NativeAlert">
<param name="android-package" value="cordova.plugin.nativealert.NativeAlert"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/NativeAlert.java" target-dir="src/cordova/plugin/nativealert"/>
</platform>
</plugin>