-
Notifications
You must be signed in to change notification settings - Fork 4
/
plugin.xml
39 lines (39 loc) · 2.5 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 id="cordova-plugin-chinese-tts" version="0.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>chineseTTS</name>
<js-module name="ChineseTTS" src="www/chineseTTS.js">
<clobbers target="cordova.plugins.chineseTTS"/>
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="ChineseTTS">
<param name="android-package" value="com.smartmapx.tts.ChineseTTS"/>
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.VIBRATE"/>
</config-file>
<source-file src="src/android/ChineseTTS.java" target-dir="src/com/smartmapx/tts"/>
<source-file src="src/android/FileUtils.java" target-dir="src/com/smartmapx/tts"/>
<source-file src="src/android/OfflineResource.java" target-dir="src/com/smartmapx/tts"/>
<source-file src="src/android/SpeechUtilOffline.java" target-dir="src/com/smartmapx/tts"/>
<source-file src="src/android/libs/armeabi/libyzstts.so" target-dir="jniLibs/armeabi"/>
<source-file src="src/android/libs/armeabi/libuscasr.so" target-dir="jniLibs/armeabi"/>
<source-file src="src/android/assets/backend_lzl" target-dir="assets"/>
<source-file src="src/android/assets/frontend_model" target-dir="assets"/>
<lib-file src="src/android/libs/usc.jar" />
<framework src="com.hjq:xxpermissions:6.0"/>
</platform>
</plugin>