forked from StephenForte/sendgrid-cordova-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.xml
87 lines (63 loc) · 3.01 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
79
80
81
82
83
84
85
86
87
<?xml version='1.0' encoding='utf-8'?>
<plugin id="com.telerik.sendgrid" version="1.0.9" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>SendGrid</name>
<description>
Cordova plugin for the SendGrid API
</description>
<preference name="API_USER" />
<preference name="API_KEY" />
<js-module name="sendgrid" src="www/SendGrid.js">
<clobbers target="sendgrid" />
</js-module>
<engines>
<engine name="cordova" version=">=3.0.0"/>
<!-- needed for gradleReference support -->
<engine name="cordova-plugman" version=">=4.2.0"/>
</engines>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="SendGrid">
<param name="ios-package" value="CDVSendGrid" />
</feature>
</config-file>
<header-file src="src/ios/CDVSendGrid.h"/>
<source-file src="src/ios/CDVSendGrid.m" />
<header-file src="src/ios/SendGrid.h"/>
<source-file src="src/ios/SendGrid.m" />
<header-file src="src/ios/SendGridEmail.h"/>
<source-file src="src/ios/SendGridEmail.m" />
<header-file src="src/ios/SMTPAPI/SMTPAPI.h" />
<source-file src="src/ios/SMTPAPI/SMTPAPI.m"/>
<dependency id="cordova-plugin-afnetworking" />
<framework src="Security.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="MobileCoreServices.framework" />
<config-file target="*-Info.plist" parent="SendGridApiUser">
<string>$API_USER</string>
</config-file>
<config-file target="*-Info.plist" parent="SendGridApiKey">
<string>$API_KEY</string>
</config-file>
</platform>
<platform name="android">
<config-file target="res/values/strings.xml" parent="/*">
<string name="sendgrid_api_user">$API_USER</string>
<string name="sendgrid_api_key">$API_KEY</string>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SendGrid">
<param name="android-package" value="com.telerik.sendgrid.SendGridPlugin"/>
</feature>
</config-file>
<source-file src="libs/android/commons-codec-1.6.jar" target-dir="libs"/>
<source-file src="libs/android/commons-logging-1.1.3.jar" target-dir="libs"/>
<source-file src="libs/android/httpcore-4.4.4.jar" target-dir="libs"/>
<source-file src="libs/android/httpclient-4.5.2.jar" target-dir="libs"/>
<source-file src="libs/android/httpmime-4.3.3.jar" target-dir="libs"/>
<source-file src="src/android/sendgrid/SendGrid.java" target-dir="src/com/sendgrid"/>
<source-file src="src/android/sendgrid/SendGridException.java" target-dir="src/com/sendgrid"/>
<source-file src="src/android/sendgrid/SMTPAPI.java" target-dir="src/com/sendgrid/smtpapi"/>
<source-file src="src/android/SendGridPlugin.java" target-dir="src/com/telerik/sendgrid" />
<framework src="src/android/sendgrid.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>