forked from malheirosrafa/twitter-connect-plugin
-
Notifications
You must be signed in to change notification settings - Fork 16
/
plugin.xml
executable file
·94 lines (84 loc) · 4.02 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
<?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 - Allows single-sign on logins using Twitter</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" /><!-- Requires Gradle building -->
<!-- <engine name="cordova-ios" version=">=1.7.1" />-->
</engines>
<js-module src="www/TwitterConnect.js" name="TwitterConnect">
<clobbers target="TwitterConnect" />
</js-module>
<!-- added to make twitter search timeline widget to work on iOS -->
<config-file target="config.xml" parent="/*">
<allow-navigation href="about:*" />
</config-file>
<preference name="FABRIC_KEY" />
<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">
<meta-data android:name="io.fabric.ApiKey" android:value="$FABRIC_KEY" />
<activity android:name="com.manifestwebdesign.twitterconnect.TimelineListActivity" android:label="TimelineListActivity" android:theme="@android:style/Theme.NoTitleBar"></activity>
</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" />
<source-file src="src/android/VerifyCredentialsServiceApi.java" target-dir="src/com/manifestwebdesign/twitterconnect" />
<source-file src="src/android/TimelineListActivity.java" target-dir="src/com/manifestwebdesign/twitterconnect" />
<source-file src="src/android/timeline.xml" target-dir="res/layout" />
</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" />
<header-file src="src/ios/ListTimelineViewController.h" />
<source-file src="src/ios/ListTimelineViewController.m" />
<framework src="src/ios/Fabric.framework" custom="true" />
<framework src="src/ios/TwitterKit.framework" custom="true" />
<framework src="src/ios/TwitterCore.framework" custom="true" />
<resource-file src="src/ios/TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle" />
<framework src="CoreText.framework" />
<framework src="AddressBook.framework" />
<framework src="QuartzCore.framework" />
<framework src="Security.framework" />
<framework src="Accounts.framework" />
<framework src="Social.framework" />
<framework src="CoreData.framework" />
<config-file target="*-Info.plist" parent="Fabric">
<dict>
<key>APIKey</key>
<string>$FABRIC_KEY</string>
<key>Kits</key>
<array>$FABRIC_KEY</array>
</dict>
</config-file>
</platform>
</plugin>