-
Notifications
You must be signed in to change notification settings - Fork 3
/
plugin.xml
64 lines (54 loc) · 2.42 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
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova-plugin-em-server-communication"
version="1.2.7">
<name>ServerComm</name>
<description>Abstraction for communication settings, and for making both GET
AND POST calls with authentication. </description>
<author>K. Shankari (shankari@eecs.berkeley.edu)</author>
<license>Modified BSD license</license>
<engines>
<engine name="cordova" version=">=3.6.0"/>
<engine name="cordova-android" version=">=7.0.0"/>
</engines>
<asset src="www/servercomm.js" target="js/servercomm.js"/>
<js-module src="www/servercomm.js" name="servercomm">
<clobbers target="cordova.plugins.BEMServerComm" />
</js-module>
<!--
<dependency id="edu.berkeley.eecs.emission.cordova.unifiedlogger"
url="https://github.com/e-mission/cordova-unified-logger.git"/>
<dependency id="edu.berkeley.eecs.emission.cordova.settings"
url="https://github.com/e-mission/cordova-connection-settings.git"/>
-->
<framework src="src/android/httplib.gradle" custom="true" type="gradleReference" />
<hook type="after_plugin_install" src="hooks/android/addResourcesClassImport.js" />
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ServerComm">
<param name="android-package" value="edu.berkeley.eecs.emission.cordova.comm.CommunicationHelperPlugin"/>
</feature>
</config-file>
<source-file src="src/android/CommunicationHelper.java" target-dir="src/edu/berkeley/eecs/emission/cordova/comm"/>
<source-file src="src/android/CommunicationHelperPlugin.java" target-dir="src/edu/berkeley/eecs/emission/cordova/comm"/>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ServerComm">
<param name="ios-package" value="BEMCommunicationHelperPlugin" />
</feature>
</config-file>
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="GTMSessionFetcher" spec="~> 3.1.0" />
</pods>
</podspec>
<header-file src="src/ios/BEMCommunicationHelper.h"/>
<source-file src="src/ios/BEMCommunicationHelper.m"/>
<header-file src="src/ios/BEMCommunicationHelperPlugin.h"/>
<source-file src="src/ios/BEMCommunicationHelperPlugin.m"/>
</platform>
</plugin>