forked from ccsoft/cordova-facebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
60 lines (44 loc) · 1.86 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
<?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="com.ccsoft.plugin.CordovaFacebook"
version="1.0.0">
<name>CordovaFacebook</name>
<description>Cordova plugin that handles Facebook integration in mobile apps.</description>
<author>CCSoft</author>
<keywords>facebook,cordova,ccsoft</keywords>
<license>Apache 2.0 License</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/CordovaFacebook.js">
<merges target="CC" />
</js-module>
<!-- android -->
<platform name="android">
<source-file src="src/android/CordovaFacebook.java"
target-dir="src/com/ccsoft/plugin" />
<source-file src="src/android/simple facebook.jar"
target-dir="libs" />
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*/application">
<activity android:label="@string/app_name" android:name="com.facebook.LoginActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" />
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CordovaFacebook">
<param name="android-package" value="com.ccsoft.plugin.CordovaFacebook" />
</feature>
</config-file>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="CordovaFacebook">
<param name="ios-package" value="CordovaFacebook" />
</feature>
</config-file>
<header-file src="src/ios/CordovaFacebook.h" />
<source-file src="src/ios/CordovaFacebook.m" />
</platform>
</plugin>