arnaucube
arnaucube/openEventsPlatformAppPublic Self-hosted repository
openEventsPlatformApp/plugins/cordova-plugin-x-socialsharing/plugin.xml
plugins/cordova-plugin-x-socialsharing/plugin.xmlRaw
 1<?xml version="1.0" encoding="UTF-8"?>
 2<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
 3        xmlns:android="http://schemas.android.com/apk/res/android"
 4        id="cordova-plugin-x-socialsharing"
 5        version="5.1.6">
 6
 7  <name>SocialSharing</name>
 8
 9  <description>
10    Share text, images (and other files), or a link via the native sharing widget of your device.
11    Android is fully supported, as well as iOS 6 and up. WP8 has somewhat limited support.
12  </description>
13
14  <author>Eddy Verbruggen</author>
15
16  <license>MIT</license>
17
18  <keywords>Social, Share, Twitter, Facebook, Email, SMS, WhatsApp, Tumblr, Pocket, LinkedIn</keywords>
19
20  <repo>https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git</repo>
21
22  <issue>https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues</issue>
23
24  <engines>
25    <engine name="cordova" version=">=3.0.0"/>
26  </engines>
27
28  <js-module src="www/SocialSharing.js" name="SocialSharing">
29    <clobbers target="window.plugins.socialsharing" />
30  </js-module>
31
32  <!-- ios -->
33  <platform name="ios">
34
35    <config-file target="config.xml" parent="/*">
36      <feature name="SocialSharing">
37        <param name="ios-package" value="SocialSharing"/>
38        <param name="onload" value="true" />
39      </feature>
40    </config-file>
41
42    <header-file src="src/ios/NSString+URLEncoding.h"/>
43    <source-file src="src/ios/NSString+URLEncoding.m"/>
44    <header-file src="src/ios/SocialSharing.h"/>
45    <source-file src="src/ios/SocialSharing.m"/>
46
47    <framework src="Social.framework" weak="true" />
48    <framework src="MessageUI.framework" weak="true" />
49  </platform>
50
51  <!-- android -->
52  <platform name="android">
53
54    <config-file target="res/xml/config.xml" parent="/*">
55      <feature name="SocialSharing">
56        <param name="android-package" value="nl.xservices.plugins.SocialSharing" />
57      </feature>
58    </config-file>
59
60    <config-file target="AndroidManifest.xml" parent="/*">
61      <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
62    </config-file>
63
64    <config-file target="AndroidManifest.xml" parent="/manifest/application">
65      <provider android:authorities="$PACKAGE_NAME.sharing.provider" android:exported="false" android:grantUriPermissions="true" android:name="nl.xservices.plugins.FileProvider">
66        <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/sharing_paths" />
67      </provider>
68    </config-file>
69
70    <source-file src="src/android/nl/xservices/plugins/SocialSharing.java" target-dir="src/nl/xservices/plugins"/>
71    <source-file src="src/android/nl/xservices/plugins/FileProvider.java" target-dir="src/nl/xservices/plugins"/>
72    <source-file src="src/android/res/xml/sharing_paths.xml" target-dir="res/xml"/>
73
74    <framework src="com.android.support:support-v4:24.1.1+" />
75  </platform>
76
77  <!-- wp8 -->
78  <platform name="wp8">
79    <config-file target="config.xml" parent="/*">
80      <feature name="SocialSharing">
81        <param name="wp-package" value="SocialSharing"/>
82      </feature>
83    </config-file>
84
85    <source-file src="src/wp8/SocialSharing.cs" />
86    <framework src="src/wp8/Newtonsoft.Json.dll" custom="true"/>
87  </platform>
88  
89  <!-- windows -->
90  <platform name="windows">
91    <js-module src="src/windows/SocialSharingProxy.js" name="SocialSharingProxy">
92      <runs />
93    </js-module>
94  </platform>
95
96</plugin>