diff --git a/README.md b/README.md index f5d1185fd..a9c1d51a7 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ and get into the nitty-gritty for the platform of your choice: 1. [Create a basic Cordova Android application](http://www.phonegap.com/start/#android). -2. In the Cordova Android application you will need to put the following in your `res/xml/plugins.xml` file:
<plugin name="org.apache.cordova.facebook.Connect" value="org.apache.cordova.facebook.Connect" />
+2. In the Cordova Android application you will need to put the following in your `res/xml/plugins.xml` file:
<plugin name="org.apache.cordova.facebook.Connect" value="org.apache.cordova.facebook.ConnectPlugin" />
3. You'll need to build + include the Facebook Android SDK and build + patch the Facebook JavaScript SDK: @@ -91,6 +91,8 @@ and get into the nitty-gritty for the platform of your choice: 5. From the Cordova Facebook Connect Plugin folder copy the `www/cdv-plugin-fb-connect.js` and `lib/facebook_js_sdk.js` files into your application's `assets/www` folder. +6. Temporary change to use a common plugin file. Modify cdv-plugin-fb-connect.js in your project, and replace **Cordova.exec** with **cordova.exec**. There is a current case sensitive incompatibility between the cordova-[RELEASE].js files for iOS and Android that should be resolved in a future release. When that happens, this step will be unnecessary. + Now you are ready to create your application! Check out the `example` folder for what the HTML, JS etc looks like. Note that you will need to replace your appId if you use the example index.html file. You can run the application from either the command line (`ant clean && ant debug install`) or from Eclipse. diff --git a/example/Simple/www/index.html b/example/Simple/www/index.html index c115fcd23..b637d72ca 100644 --- a/example/Simple/www/index.html +++ b/example/Simple/www/index.html @@ -13,7 +13,8 @@
loading ...
- + +
@@ -23,8 +24,8 @@