-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplugin.xml
38 lines (32 loc) · 1.28 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="au.id.currie.tts"
version="0.0.1">
<name>TextToSpeech</name>
<description>Text To Speech Plugin</description>
<license>Apache 2.0</license>
<keywords>text,speech</keywords>
<js-module src="www/tts.js" name="TextToSpeech">
<clobbers target="window.texttospeech"/>
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="TextToSpeech">
<param name="android-package" value="au.id.currie.tts.TextToSpeechPlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<source-file src="src/au/id/currie/tts/TextToSpeechPlugin.java" target-dir="src/au/id/currie/tts" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="TextToSpeech">
<param name="ios-package" value="TextToSpeech"/>
</feature>
</config-file>
<header-file src="src/ios/TextToSpeech.h" />
<source-file src="src/ios/TextToSpeech.m" />
<framework src="AVFoundation.framework"/>
</platform>
</plugin>