forked from ochakov/SpeechRecognitionPlugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
86 lines (69 loc) · 3.45 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.apache.cordova.speech.speechrecognition"
version="0.1.1">
<name>SpeechRecognition</name>
<description>Cordova Speech Recognition Plugin</description>
<license>Apache</license>
<keywords>cordova,speech,recognition</keywords>
<js-module src="www/SpeechRecognition.js" name="SpeechRecognition">
<clobbers target="SpeechRecognition" />
</js-module>
<js-module src="www/SpeechRecognitionError.js" name="SpeechRecognitionError">
<clobbers target="SpeechRecognitionError" />
</js-module>
<js-module src="www/SpeechRecognitionAlternative.js" name="SpeechRecognitionAlternative">
<clobbers target="SpeechRecognitionAlternative" />
</js-module>
<js-module src="www/SpeechRecognitionResult.js" name="SpeechRecognitionResult">
<clobbers target="SpeechRecognitionResult" />
</js-module>
<js-module src="www/SpeechRecognitionResultList.js" name="SpeechRecognitionResultList">
<clobbers target="SpeechRecognitionResultList" />
</js-module>
<js-module src="www/SpeechRecognitionEvent.js" name="SpeechRecognitionEvent">
<clobbers target="SpeechRecognitionEvent" />
</js-module>
<js-module src="www/SpeechGrammar.js" name="SpeechGrammar">
<clobbers target="SpeechGrammar" />
</js-module>
<js-module src="www/SpeechGrammarList.js" name="SpeechGrammarList">
<clobbers target="SpeechGrammarList" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SpeechRecognition">
<param name="android-package" value="org.apache.cordova.speech.SpeechRecognition"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-feature android:name="android.hardware.microphone" android:required="false" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
</config-file>
<framework src="com.android.support:support-v4:+" />
<source-file src="src/android/SpeechRecognition.java" target-dir="src/org/apache/cordova/speech" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="SpeechRecognition">
<param name="ios-package" value="SpeechRecognition"/>
</feature>
</config-file>
<source-file src="src/ios/SpeechRecognition.m" />
<source-file src="src/ios/libiSpeechSDK.a" framework="true" />
<header-file src="src/ios/SpeechRecognition.h" />
<header-file src="src/ios/Headers/iSpeechSDK.h" />
<header-file src="src/ios/Headers/ISSpeechRecognition.h" />
<header-file src="src/ios/Headers/ISSpeechRecognitionLocales.h" />
<header-file src="src/ios/Headers/ISSpeechRecognitionResult.h" />
<header-file src="src/ios/Headers/ISSpeechSynthesis.h" />
<header-file src="src/ios/Headers/ISSpeechSynthesisVoices.h" />
<framework src="AudioToolbox.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="Security.framework" />
<framework src="CFNetwork.framework" />
<resource-file src="src/ios/iSpeechSDK.bundle" />
</platform>
</plugin>