forked from bsorrentino/cordova-broadcaster
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
46 lines (44 loc) · 1.68 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin id="cordova-plugin-broadcaster-osvlab"
version="4.1.2"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<engines>
<engine name="cordova" version=">=3.9.1" /><!-- Needs cordova/urlutil -->
</engines>
<name>broadcaster</name>
<description>Allow send message from Javascript to Native</description>
<js-module name="broadcaster" src="www/broadcaster.js">
<clobbers target="broadcaster" />
</js-module>
<!-- browser -->
<platform name="browser">
<config-file parent="/*" target="config.xml">
<feature name="broadcaster">
<param name="browser-package" value="broadcaster" />
</feature>
</config-file>
<js-module src="src/browser/BroadcasterProxy.js" name="broadcasterProxy">
<runs />
</js-module>
</platform>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="broadcaster">
<param name="android-package" value="org.bsc.cordova.CDVBroadcaster" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml" />
<source-file src="src/android/CDVBroadcaster.java" target-dir="src/org/bsc/cordova" />
<framework src="com.android.support:support-v4:27.1.1" />
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="broadcaster">
<param name="ios-package" value="CDVBroadcaster" />
</feature>
</config-file>
<header-file src="src/ios/CDVBroadcaster.h" />
<source-file src="src/ios/CDVBroadcaster.m" />
</platform>
</plugin>