forked from chemerisuk/cordova-plugin-web-share
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
55 lines (45 loc) · 2.03 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
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-web-share"
version="1.4.1">
<name>WebShare</name>
<description>Web Share API polyfill for Cordova</description>
<license>MIT</license>
<keywords>cordova</keywords>
<repo>https://github.com/chemerisuk/cordova-plugin-web-share</repo>
<issue>https://github.com/chemerisuk/cordova-plugin-web-share/issues</issue>
<js-module src="www/WebShare.js" name="WebShare">
<clobbers target="cordova.plugins.share" />
</js-module>
<engines>
<engine name="cordova" version=">=6.0.0"/>
<engine name="cordova-android" version=">=6.0.0"/>
<engine name="cordova-ios" version=">=4.3.0"/>
</engines>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="WebShare">
<param name="ios-package" value="WebSharePlugin" />
<param name="onload" value="false" />
</feature>
</config-file>
<header-file src="src/ios/WebSharePlugin.h" />
<source-file src="src/ios/WebSharePlugin.m" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="WebShare">
<param name="android-package" value="by.chemerisuk.cordova.WebSharePlugin" />
<param name="onload" value="false" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="application">
<receiver android:name="by.chemerisuk.cordova.WebShareReceiver" android:exported="false" />
</config-file>
<dependency id="cordova-support-android-plugin" version="~2.0.4"/>
<source-file src="src/android/WebSharePlugin.java"
target-dir="src/by/chemerisuk/cordova/" />
<source-file src="src/android/WebShareReceiver.java"
target-dir="src/by/chemerisuk/cordova/" />
</platform>
</plugin>