-
-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathplugin.xml
106 lines (106 loc) · 5.38 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?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="phonegap-plugin-speech-recognition" version="0.3.0">
<name>SpeechRecognition</name>
<description>Cordova Speech Recognition Plugin</description>
<license>MIT</license>
<keywords>cordova,speech,recognition</keywords>
<dependency id="cordova-plugin-compat" version="^1.0.0" />
<!-- android -->
<platform name="android">
<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>
<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-permission android:name="android.permission.RECORD_AUDIO" />
</config-file>
<source-file src="src/android/SpeechRecognition.java" target-dir="src/org/apache/cordova/speech" />
</platform>
<!-- ios -->
<platform name="ios">
<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>
<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" />
<framework src="Speech.framework" weak="true" />
<resource-file src="src/ios/iSpeechSDK.bundle" />
<preference name="MICROPHONE_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
<string>$MICROPHONE_USAGE_DESCRIPTION</string>
</config-file>
<preference name="SPEECH_RECOGNITION_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSSpeechRecognitionUsageDescription">
<string>$SPEECH_RECOGNITION_USAGE_DESCRIPTION</string>
</config-file>
</platform>
<platform name="browser">
<js-module src="www/browser/SpeechRecognition.js" name="SpeechRecognition">
<runs/>
</js-module>
</platform>
</plugin>