forked from EddyVerbruggen/SocialSharing-PhoneGap-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
executable file
·143 lines (110 loc) · 4.48 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?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.4">
<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">
<preference name="APP_ID" />
<config-file target="config.xml" parent="/*">
<feature name="SocialSharing">
<param name="ios-package" value="SocialSharing"/>
<param name="onload" value="true" />
</feature>
<preference name="wechatappid" value="$APP_ID" />
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>weixin</string>
<key>CFBundleURLSchemes</key>
<array>
<string>$APP_ID</string>
</array>
</dict>
</array>
</config-file>
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>weixin</string>
</array>
</config-file>
<config-file target="*-Info.plist" parent="NSAppTransportSecurity">
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</config-file>
<header-file src="src/ios/SocialSharing.h"/>
<source-file src="src/ios/SocialSharing.m"/>
<header-file src="src/ios/wechat/WeixinActivity.h"/>
<source-file src="src/ios/wechat/WeixinActivity.m"/>
<header-file src="src/ios/wechat/WeixinActivityBase.h"/>
<source-file src="src/ios/wechat/WeixinActivityBase.m"/>
<header-file src="src/ios/wechat/WeixinSessionActivity.h"/>
<source-file src="src/ios/wechat/WeixinSessionActivity.m"/>
<header-file src="src/ios/wechat/WeixinTimelineActivity.h"/>
<source-file src="src/ios/wechat/WeixinTimelineActivity.m"/>
<header-file src="src/ios/wechat/WXApi.h"/>
<header-file src="src/ios/wechat/WXApiObject.h"/>
<resource-file src="src/ios/wechat/resource/[email protected]" />
<resource-file src="src/ios/wechat/resource/[email protected]" />
<source-file src="src/ios/wechat/resource/libWeChatSDK.a" framework="true" />
<framework src="Social.framework" weak="true" />
<framework src="MessageUI.framework" weak="true" />
<framework src="CoreTelephony.framework" weak="true" />
<!-- Other required frameworks -->
<framework src="libz.dylib" />
<framework src="libsqlite3.0.dylib" />
<framework src="SystemConfiguration.framework" />
<framework src="Security.framework" />
<framework src="libstdc++.6.dylib" />
</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" />
</platform>
<!-- windows -->
<platform name="windows">
<js-module src="src/windows/SocialSharingProxy.js" name="SocialSharingProxy">
<merges target="" />
</js-module>
<source-file src="" />
</platform>
</plugin>