forked from donuzium/twitter-connect-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
executable file
·82 lines (72 loc) · 2.9 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
<?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="twitter-connect-plugin"
version="0.6.0">
<name>Twitter Connect</name>
<description>Twitter Connect Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,twitter,login,connect</keywords>
<repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git</repo>
<issue>https://issues.apache.org/jira/browse/CB/component/12320653</issue>
<engines>
<engine name="cordova-android" version=">3.9.9" />
</engines>
<js-module src="www/TwitterConnect.js" name="TwitterConnect">
<clobbers target="TwitterConnect" />
</js-module>
<preference name="TWITTER_KEY" />
<preference name="TWITTER_SECRET" />
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="TwitterConnect">
<param name="android-package" value="com.manifestwebdesign.twitterconnect.TwitterConnect" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
</config-file>
<config-file target="res/xml/config.xml" parent="widget">
<preference name="TwitterConsumerKey" value="$TWITTER_KEY" />
<preference name="TwitterConsumerSecret" value="$TWITTER_SECRET" />
</config-file>
<framework src="src/android/twitter.gradle" custom="true" type="gradleReference" />
<source-file src="src/android/TwitterConnect.java" target-dir="src/com/manifestwebdesign/twitterconnect" />
<source-file src="src/android/UserShowServiceApi.java" target-dir="src/com/manifestwebdesign/twitterconnect" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="TwitterConnect">
<param name="ios-package" value="TwitterConnect" />
</feature>
</config-file>
<config-file target="config.xml" parent="widget">
<preference name="TwitterConsumerKey" value="$TWITTER_KEY" />
<preference name="TwitterConsumerSecret" value="$TWITTER_SECRET" />
<preference name="deployment-target" value="7.0" />
</config-file>
<header-file src="src/ios/TwitterConnect.h" />
<source-file src="src/ios/TwitterConnect.m" />
<framework src="src/ios/TwitterKit.framework" custom="true" />
<framework src="src/ios/TwitterCore.framework" custom="true" />
<resource-file src="src/ios/TwitterKitResources.bundle" />
<resource-file src="src/ios/TwitterShareExtensionUIResources.bundle" />
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>twitterkit-$TWITTER_KEY</string>
</array>
</dict>
</array>
</config-file>
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>twitter</string>
<string>twitterauth</string>
</array>
</config-file>
</platform>
</plugin>