-
Notifications
You must be signed in to change notification settings - Fork 4
/
plugin.xml
52 lines (47 loc) · 1.88 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
<?xml version='1.0' encoding='utf-8'?>
<plugin xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-imap"
version="1.1.0" xmlns="http://apache.org/cordova/ns/plugins/1.0">
<name>Imap</name>
<description>
This plugin will enable a Cordova application to use the
IMAP (Internet Message Access Protocol) features.
</description>
<lisence>ISC</lisence>
<js-module name="imap" src="www/Imap.js">
<clobbers target="imap" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="Imap">
<param name="android-package" value="Imap" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<framework src="com.sun.mail:android-mail:1.6.2" />
<framework src="com.sun.mail:android-activation:1.6.2" />
<source-file src="src/android/Imap.java" target-dir="src/cordova-plugin-imap/Imap" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Imap">
<param name="ios-package" value="Imap"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<framework src="CFNetwork.framework"/>
<framework src="Security.framework"/>
<podspec>
<config>
<source url="https://cdn.cocoapods.org"/>
</config>
<pods use-frameworks="true">
<pod name="mailcore2-ios" spec="0.6.4"/>
</pods>
</podspec>
<header-file src="src/ios/Imap.h"/>
<source-file src="src/ios/Imap.m"/>
</platform>
</plugin>