-
Notifications
You must be signed in to change notification settings - Fork 23
/
plugin.xml
78 lines (61 loc) · 2.77 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
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-apiai"
version="1.7.4">
<name>ApiAiSDK</name>
<description>Plugin makes it easy to integrate your Cordova application with https://api.ai natural language processing service.</description>
<author>api.ai</author>
<keywords>language processing,voice recognition</keywords>
<license>Apache 2.0 License</license>
<engines>
<engine name="cordova" version=">=5.0.0" />
</engines>
<js-module name="Q" src="www/lib/q.js">
<runs/>
</js-module>
<js-module name="ApiAIPlugin" src="www/ApiAIPlugin.js">
<clobbers target="window.ApiAIPlugin" />
</js-module>
<js-module name="ApiAIPromises" src="www/ApiAIPromises.js">
<clobbers target="window.ApiAIPromises" />
</js-module>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="ApiAIPlugin">
<param name="ios-package" value="ApiAIPlugin" />
</feature>
</config-file>
<header-file src="src/ios/ApiAIPlugin.h" compiler-flags="-std=gnu99 -fmodules" />
<source-file src="src/ios/ApiAIPlugin.m" compiler-flags="-std=gnu99 -fmodules" />
<framework src="libs/ios/ApiAI.framework" custom="true" weak="true" />
<resource-file src="libs/ios/beep.caf" />
<framework src="Security.framework" />
<framework src="Foundation.framework" />
<framework src="CoreAudio.framework" />
<framework src="AudioToolbox.framework" />
</platform>
<!-- Android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="ApiAIPlugin">
<param name="android-package" value="ai.api.ApiAiPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
</config-file>
<!-- Apache Cordova 3.x. -->
<config-file target="res/xml/config.xml" parent="widget">
<feature name="ApiAIPlugin">
<param name="android-package" value="ai.api.ApiAiPlugin" />
</feature>
</config-file>
<framework src="com.android.support:support-v4:23.2.1" />
<framework src="com.google.code.gson:gson:2.3" />
<framework src="commons-io:commons-io:2.4" />
<source-file src="src/android/ApiAiPlugin.java" target-dir="src/ai/api" />
<source-file src="libs/ailib.jar" target-dir="libs" />
</platform>
</plugin>