forked from josiaho/cordova-plugin-midi-sender
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
54 lines (45 loc) · 2.03 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://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-midi-sender" version="0.1.8">
<name>MIDISender</name>
<description>Send and Receive MIDI messages through attached interfaces</description>
<license>Apache 2.0</license>
<keywords>MIDI,coreaudio,program,change</keywords>
<repo>https://github.com/manuelnelson/cordova-plugin-midi-sender.git</repo>
<issue>https://github.com/manuelnelson/cordova-plugin-midi-sender/issues</issue>
<license>MIT</license>
<author>Emmanuel Nelson</author>
<engines>
<!--
Cordova 9.0.0 is all I have tested on - it should work fine with earlier versions.
Please modify the below line, test, and submit a PR if it works for you.
-->
<engine name="cordova" version=">=3.4.0"/>
</engines>
<asset src="www/midisender.js" target="js/midisender.js"/>
<js-module src="www/midisender.js" name="midisender">
<clobbers target="MIDISender" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="MIDISender" >
<param name="android-package" value="com.emmanuelnelson.MIDISender" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-feature android:name="android.software.midi" android:required="true"/>
</config-file>
<source-file src="src/android/MIDISender.java" target-dir="src/com/emmanuelnelson" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="MIDISender">
<param name="ios-package" value="MIDISender" onload="true" />
</feature>
</config-file>
<header-file src="src/ios/MIDISender.h" />
<source-file src="src/ios/MIDISender.m" />
<framework src="CoreMIDI.framework" />
</platform>
</plugin>