-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
55 lines (41 loc) · 1.35 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="com.appgyver.plugin.Echo"
version="1.0.0">
<name>EchoPlugin</name>
<description>
Echo Plugin for Steroids.js
</description>
<asset src="www/EchoPlugin.js" target="plugins/EchoPlugin.js" />
<engines>
<engine name="cordova" version=">=2.7.0" />
</engines>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="plugins">
<plugin name="Echo" value="com.appgyver.plugin.Echo"/>
</config-file>
<source-file src="src/android/com/appgyver/plugin/Echo.java"
target-dir="src/com/appgyver/plugin" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*/plugins">
<plugin name="Echo" value="Echo" onload="true" />
</config-file>
<config-file target="config.xml" parent="/widget">
<feature name="Echo">
<param name="ios-package" value="Echo"/>
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>location</string>
<string>audio</string>
</array>
</config-file>
<header-file src="src/ios/Echo.h" />
<source-file src="src/ios/Echo.m" />
</platform>
</plugin>