-
Notifications
You must be signed in to change notification settings - Fork 32
/
plugin.xml
35 lines (32 loc) · 1.2 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="nl.madebymark.share"
version="0.1.1">
<name>Share</name>
<description>Share</description>
<license>Apache 2.0</license>
<keywords>share,facebook,twitter</keywords>
<js-module src="www/share.js" name="Share">
<clobbers target="window.navigator.share" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Share" >
<param name="android-package" value="nl.madebymark.share.Share"/>
</feature>
</config-file>
<source-file src="src/android/Share.java" target-dir="src/nl/madebymark/share" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Share">
<param name="ios-package" value="MMShare" />
</feature>
</config-file>
<header-file src="src/ios/MMShare.h" />
<source-file src="src/ios/MMShare.m" />
</platform>
</plugin>