-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplugin.xml
39 lines (38 loc) · 1.94 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
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="com.projectoxford.cordova.speechrecognition" version="0.0.1">
<name>Project Oxford Speech Recognition</name>
<description>A Cordova plugin provide speech recognition</description>
<license>Apache 2.0</license>
<keywords>cordova, speech recognition, project oxford, Microsoft</keywords>
<engines>
<engine name="cordova" version=">=3.6.0" />
</engines>
<js-module src="www/oxfordspeechrecognition.js" name="OxfordSpeechRecognition">
<clobbers target="window.OxfordSpeechRecognition" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="OxfordSpeechRecognition">
<param name="android-package" value="com.projectoxford.cordova.speechrecognition.OxfordSpeechRecognition" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
</config-file>
<source-file src="src/android/OxfordSpeechRecognition.java" target-dir="src/com/projectoxford/cordova/speechrecognition" />
<source-file src="src/android/libs/SpeechSDK.jar" target-dir="libs" />
<source-file src="src/android/libs/armeabi/libandroid_platform.so" target-dir="libs/armeabi/" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="OxfordSpeechRecognition">
<param name="ios-package" value="OxfordSpeechRecognition" />
</feature>
</config-file>
<source-file src="src/ios/OxfordSpeechRecognition.m" />
<header-file src="src/ios/OxfordSpeechRecognition.h" />
<framework src="src/ios/Frameworks/SpeechSDK.framework" custom="true" />
</platform>
</plugin>