forked from EddyVerbruggen/SocialSharing-PhoneGap-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
executable file
·85 lines (64 loc) · 2.59 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?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="cordova-plugin-x-socialsharing"
version="5.0.9">
<name>SocialSharing</name>
<description>
Share text, images (and other files), or a link via the native sharing widget of your device.
Android is fully supported, as well as iOS 6 and up. WP8 has somewhat limited support.
</description>
<author>Eddy Verbruggen</author>
<license>MIT</license>
<keywords>Social, Share, Twitter, Facebook, Email, SMS, WhatsApp, Tumblr, Pocket, LinkedIn</keywords>
<repo>https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git</repo>
<issue>https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues</issue>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<js-module src="www/SocialSharing.js" name="SocialSharing">
<clobbers target="window.plugins.socialsharing" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="SocialSharing">
<param name="ios-package" value="SocialSharing"/>
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/SocialSharing.h"/>
<source-file src="src/ios/SocialSharing.m"/>
<framework src="Social.framework" weak="true" />
<framework src="MessageUI.framework" weak="true" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SocialSharing">
<param name="android-package" value="nl.xservices.plugins.SocialSharing" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</config-file>
<source-file src="src/android/nl/xservices/plugins/SocialSharing.java" target-dir="src/nl/xservices/plugins"/>
</platform>
<!-- wp8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="SocialSharing">
<param name="wp-package" value="SocialSharing"/>
</feature>
</config-file>
<source-file src="src/wp8/SocialSharing.cs" />
<framework src="src/wp8/Newtonsoft.Json.dll" custom="true"/>
</platform>
<!-- windows -->
<platform name="windows">
<js-module src="src/windows/SocialSharingProxy.js" name="SocialSharingProxy">
<merges target="" />
</js-module>
<source-file src="" />
</platform>
</plugin>