-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
executable file
·66 lines (47 loc) · 1.98 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
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-spf"
version="0.1.2">
<name>cordova-plugin-spf</name>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<asset src="www/spf.js" target="js/spf.js"/>
<js-module src="www/spf.js" name="spf">
<clobbers target="cordova.plugins.spf" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SPF">
<param name="android-package" value="kevinchtsang.cordova.spf.SPF"/>
</feature>
</config-file>
<source-file src="src/android/SPF.java" target-dir="src/kevinchtsang/cordova/spf/"/>
<framework src="src/android/SPF.gradle" custom="true" type="gradleReference" />
<lib-file src="lib/android/SPFLib-3.6.7.aar" />
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
</config-file>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/widget">
<feature name="SPF">
<param name="ios-package" value="spf" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
<key>NSMicrophoneUsageDescription</key>
<string>Microphone needed to read the smart peak flow meter</string>
</config-file>
<framework src="libstdc++.tbd" />
<source-file src="lib/ios/libSPF-iOS-Lib.a" framework="true"/>
<header-file src="lib/ios/WaveWriter.h"/>
<header-file src="lib/ios/MicrophoneSignalProcess.h"/>
<header-file src="lib/ios/spf_lib_modes.h"/>
<header-file src="src/ios/spf.h" />
<source-file src="src/ios/spf.m" />
</platform>
</plugin>