forked from fastrde/cordova-plugin-fastrde-mqtt
-
Notifications
You must be signed in to change notification settings - Fork 6
/
plugin.xml
54 lines (51 loc) · 2.73 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-fastrde-mqtt" version="1.3.0">
<name>MQTT-Client</name>
<author>Fabian Strachanski</author>
<description>Cordova plugin to communicate via mqtt for ios and android</description>
<license>MIT</license>
<keywords>mqtt, iot, push, notification</keywords>
<repo>https://github.com/iocare/cordova-plugin-fastrde-mqtt.git</repo>
<issue>https://github.com/iocare/cordova-plugin-fastrde-mqtt/issues</issue>
<dependency id="cordova-sqlite-storage" version="2.4.0" />
<dependency id="cordova-plugin-network-information" version="2.0.1" />
<js-module src="www/mqtt.js" name="mqtt">
<clobbers target="mqtt" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="MQTTPlugin">
<param name="ios-package" value="CDVMQTTPlugin" />
</feature>
</config-file>
<header-file src="src/ios/CDVMQTTPlugin.h" />
<source-file src="src/ios/CDVMQTTPlugin.m" />
<header-file src="src/ios/MQTTClient/MQTTClient.h" target-dir="MQTTClient"/>
<header-file src="src/ios/MQTTClient/MQTTDecoder.h" target-dir="MQTTClient"/>
<header-file src="src/ios/MQTTClient/MQTTEncoder.h" target-dir="MQTTClient"/>
<header-file src="src/ios/MQTTClient/MQTTFlow.h" target-dir="MQTTClient"/>
<header-file src="src/ios/MQTTClient/MQTTMessage.h" target-dir="MQTTClient"/>
<header-file src="src/ios/MQTTClient/MQTTPersistence.h" target-dir="MQTTClient"/>
<header-file src="src/ios/MQTTClient/MQTTSession.h" target-dir="MQTTClient"/>
<header-file src="src/ios/MQTTClient/MQTTSessionManager.h" target-dir="MQTTClient"/>
<header-file src="src/ios/MQTTClient/MQTTSSLSecurityPolicy.h" target-dir="MQTTClient"/>
<framework src="CFNetwork.framework" />
<framework src="CoreData.framework" />
<framework src="src/ios/Frameworks/MQTTClient.framework" custom="true" />
</platform>
<platform name="android">
<source-file src="src/android/MQTTPlugin.java" target-dir="src/de/fastr/cordova/plugin" />
<source-file src="src/android/paho/org.eclipse.paho.client.mqttv3-1.0.2.jar" target-dir="libs" framework="true" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="MQTTPlugin">
<param name="android-package" value="de.fastr.cordova.plugin.MQTTPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</config-file>
</platform>
</plugin>