-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
45 lines (37 loc) · 2.17 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
<?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="vzaramel.cordova.serialaudio"
version="1.0.0">
<name>SerialAudio</name>
<description>Cordova Serial Over Audio Jack Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,serial,audio</keywords>
<repo>https://github.com/vzaramel/cordova-plugin-serialaudio.git</repo>
<issue>https://github.com/vzaramel/cordova-plugin-serialaudio/issues</issue>
<js-module src="www/SerialAudio.js" name="SerialAudio">
<clobbers target="SerialAudio" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SerialAudio" >
<param name="android-package" value="vzaramel.cordova.serialaudio.SerialAudio"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
</config-file>
<source-file src="src/android/SerialAudio.java" target-dir="src/vzaramel/cordova/serialaudio" />
<source-file src="src/android/AudioCapturer.java" target-dir="src/vzaramel/cordova/serialaudio" />
<source-file src="src/android/AudioSerialInMono.java" target-dir="src/vzaramel/cordova/serialaudio" />
<source-file src="src/android/AudioSerialOutMono.java" target-dir="src/vzaramel/cordova/serialaudio" />
<source-file src="src/android/IAudioReceiver.java" target-dir="src/vzaramel/cordova/serialaudio" />
</platform>
</plugin>