Skip to content

Commit

Permalink
update for 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
goya committed Oct 19, 2013
1 parent 1b13802 commit 962eb0a
Show file tree
Hide file tree
Showing 3 changed files with 260 additions and 361 deletions.
25 changes: 14 additions & 11 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.phonegap.plugins.facebookconnect"
version="0.3.2">
version="0.4.0">

<name>Facebook Connect</name>

Expand Down Expand Up @@ -30,19 +30,21 @@
</config-file>

<preference name="APP_ID" />
<preference name="APP_NAME" />
<preference name="APP_NAME" />

<engines>
<engine name="cordova" version=">=2.3.0" />
<engine name="cordova" version=">=3.0.0" />
</engines>

<!-- android -->
<platform name="android">

<config-file target="res/xml/config.xml" parent="plugins">
<plugin name="org.apache.cordova.facebook.Connect" value="org.apache.cordova.facebook.ConnectPlugin"/>
</config-file>

<config-file target="config.xml" parent="/*">
<feature name="org.apache.cordova.facebook.Connect">
<param name="android-package" value="org.apache.cordova.facebook.ConnectPlugin" />
</feature>
</config-file>

<!-- res files -->
<source-file src="src/android/facebook/res/drawable/close.png" target-dir="res/drawable" />
<source-file src="src/android/facebook/res/drawable/facebook_icon.png" target-dir="res/drawable" />
Expand All @@ -68,11 +70,12 @@
<!-- ios -->
<platform name="ios">

<!-- Cordova >= 2.3 -->
<config-file target="config.xml" parent="plugins">
<plugin name="org.apache.cordova.facebook.Connect" value="FacebookConnectPlugin"/>
<config-file target="config.xml" parent="/*">
<feature name="org.apache.cordova.facebook.Connect">
<param name="ios-package" value="FacebookConnectPlugin" />
</feature>
</config-file>

<header-file src="src/ios/FacebookConnectPlugin.h" />
<source-file src="src/ios/FacebookConnectPlugin.m" />

Expand Down
Loading

0 comments on commit 962eb0a

Please sign in to comment.