-
Notifications
You must be signed in to change notification settings - Fork 9
/
plugin.xml
66 lines (54 loc) · 2.76 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
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova-plugin-em-opcodeauth"
version="1.7.2">
<name>OPCodeAuth</name>
<description>Get the authentication token (aka opcode) associaed with a user.</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"/>
<engine name="cordova-ios" version=">=5.0.0"/>
</engines>
<asset src="www/opcodeauth.js" target="js/opcodeauth.js"/>
<js-module src="www/opcodeauth.js" name="opcodeauth">
<clobbers target="cordova.plugins.OPCodeAuth" />
</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"/>
-->
<hook type="after_plugin_install" src="hooks/android/addResourcesClassImport.js" />
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="OPCodeAuth">
<param name="android-package" value="edu.berkeley.eecs.emission.cordova.opcodeauth.OPCodePlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<source-file src="src/android/OPCodePlugin.java" target-dir="src/edu/berkeley/eecs/emission/cordova/opcodeauth"/>
<source-file src="src/android/PromptedAuth.java" target-dir="src/edu/berkeley/eecs/emission/cordova/opcodeauth"/>
<source-file src="src/android/AuthResult.java" target-dir="src/edu/berkeley/eecs/emission/cordova/opcodeauth"/>
<source-file src="src/android/AuthPendingResult.java" target-dir="src/edu/berkeley/eecs/emission/cordova/opcodeauth"/>
<source-file src="src/android/AuthTokenCreator.java" target-dir="src/edu/berkeley/eecs/emission/cordova/opcodeauth"/>
<source-file src="src/android/AuthTokenCreationFactory.java" target-dir="src/edu/berkeley/eecs/emission/cordova/opcodeauth"/>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="OPCodeAuth">
<param name="ios-package" value="BEMOPCode" />
<param name="onload" value="true"/>
</feature>
</config-file>
<header-file src="src/ios/BEMOPCode.h"/>
<header-file src="src/ios/PromptedAuth.h"/>
<header-file src="src/ios/AuthTokenCreator.h"/>
<header-file src="src/ios/AuthTokenCreationFactory.h"/>
<source-file src="src/ios/BEMOPCode.m"/>
<source-file src="src/ios/PromptedAuth.m"/>
<source-file src="src/ios/AuthTokenCreationFactory.m"/>
</platform>
</plugin>