forked from NormannEiland/MidiFilePlayer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
40 lines (35 loc) · 1.28 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
<?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="normannit.midiplayer"
version="3.1.0">
<name>MidiPlayer</name>
<description>Play Midi files on iOS</description>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/midiplayer.js" name="MidiPlayer">
<clobbers target="MidiPlayer" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="MidiPlayer">
<param name="android-package" value="normannit.midiplayer.MidiPlayer"/>
</feature>
</config-file>
<source-file src="src/android/MidiPlayer.java" target-dir="src/normannit/midiplayer/"/>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="MidiPlayer">
<param name="ios-package" value="MidiPlayer"/>
</feature>
</config-file>
<header-file src="src/ios/MidiPlayer.h" />
<source-file src="src/ios/MidiPlayer.m" />
<resource-file src="src/ios/sounds.sf2" />
</platform>
</plugin>