forked from alexvida89/phonegap_metronome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
54 lines (45 loc) · 1.84 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
id="cordova-plugin-metronomeplugin"
version="0.0.1">
<name>MetronomePlugin</name>
<js-module src="www/template.js" name="MetronomePlugin">
<clobbers target="cordova.plugins.MetronomePlugin.setBeat" />
</js-module>
<!-- TODO: Uncomment this if you would like to add Android support -->
<!-- android -->
<!--
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Echo" >
<param name="android-package" value="org.apache.cordova.test.Echo"/>
</feature>
</config-file>
<source-file src="src/android/Echo.java" target-dir="src/org/apache/cordova/test" />
</platform>
-->
<!-- TODO: Uncomment this if you would like to add iOS support -->
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Echo">
<param name="ios-package" value="CDVEcho"/>
</feature>
</config-file>
<source-file src="src/ios/CDVEcho.mm" />
<header-file src="src/ios/HapticMetronome.h" />
<source-file src="src/ios/HapticMetronome.mm" />
<header-file src="src/ios/Metronome.h" />
<source-file src="src/ios/Metronome.m" />
<resource-file src="src/ios/HQWoodblockHigh.caf" />
<resource-file src="src/ios/HQWoodblockLow.caf" />
<resource-file src="src/ios/HQWoodblockMid.caf" />
<header-file src="src/ios/SoundMetronome.h" />
<source-file src="src/ios/SoundMetronome.mm" />
</platform>
<platform name="browser">
<js-module src="www/template.js" name="MetronomePlugin">
<runs />
</js-module>
</platform>
</plugin>