forked from etiennea/phonegap-twitter-plugin
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplugin.xml
40 lines (33 loc) · 1.39 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-twitter"
version="0.8.5">
<name>Cordova Twitter</name>
<description>This is jmtt89 verison of the plugin for use Twitter in Apache Cordova/PhoneGap/Ionic application!</description>
<license>MIT</license>
<js-module src="www/TwitterPlugin.js" name="TwitterPlugin">
<clobbers target="Twitter" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/widget/plugins">
<feature name="TwitterPlugin">
<param name="ios-package" value="TwitterPlugin" />
</feature>
</config-file>
<header-file src="src/ios/TwitterPlugin.h" />
<source-file src="src/ios/TwitterPlugin.m" />
<framework src="Twitter.framework" />
<framework src="Accounts.framework" weak="true" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="TwitterPlugin">
<param name="android-package" value="com.phonegap.plugins.TwitterPlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/TwitterPlugin.java" target-dir="src/com/phonegap/plugins" />
<source-file src="src/android/libs/twitter4j-core-4.0.4.jar" target-dir="libs/" />
</platform>
</plugin>