-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
93 lines (73 loc) · 4.03 KB
/
plugin.xml
File metadata and controls
93 lines (73 loc) · 4.03 KB
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
<?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="ai.api.apiaiplugin"
version="1.5.5.1">
<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-ios" version=">=3.7.0" />
<!-- required for Android M runtime permission checks -->
<engine name="cordova-android" 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>
<!-- public header and source file -->
<header-file src="libs/ios/api-ai-ios-sdk/ApiAI/ApiAI.h" compiler-flags="-std=gnu99 -fmodules"/>
<header-file src="libs/ios/api-ai-ios-sdk/ApiAI/AIRequest.h" compiler-flags="-std=gnu99 -fmodules" />
<header-file src="libs/ios/api-ai-ios-sdk/ApiAI/AITextRequest.h" compiler-flags="-std=gnu99 -fmodules" />
<header-file src="libs/ios/api-ai-ios-sdk/ApiAI/AIVoiceRequest.h" compiler-flags="-std=gnu99 -fmodules" />
<header-file src="libs/ios/api-ai-ios-sdk/ApiAI/AIConfiguration.h" compiler-flags="-std=gnu99 -fmodules" />
<header-file src="libs/ios/api-ai-ios-sdk/ApiAI/AIDefaultConfiguration.h" compiler-flags="-std=gnu99 -fmodules" />
<header-file src="libs/ios/api-ai-ios-sdk/ApiAI/AIRequestEntity.h" compiler-flags="-std=gnu99 -fmodules" />
<header-file src="libs/ios/api-ai-ios-sdk/ApiAI/AIRequestEntry.h" compiler-flags="-std=gnu99 -fmodules" />
<header-file src="libs/ios/api-ai-ios-sdk/ApiAI/AINullabilityDefines.h" compiler-flags="-std=gnu99 -fmodules" />
<header-file src="libs/ios/api-ai-ios-sdk/ApiAI/AIRequestContext.h" compiler-flags="-std=gnu99 -fmodules" />
<!-- support header and source 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" />
<source-file src="libs/ios/api-ai-ios-sdk/libApiAI.a" framework="true" />
<framework src="Security.framework" />
<framework src="Foundation.framework" />
<framework src="CoreAudio.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.0" />
<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>