Nice! just noticed that the facebookConnectPlugin has been updated(or the api has) and now my facebook register function is broken, So i’m gonna check this out right now!
I see ngcordova is also planning to use the facebookConnectPlugin, I had it working once but on each build I had to do a bunch of manual commands in the cli, and whilst i had it working once, I removed and re-added the plugin and now it only works if i follow the code and remove the plugin everytime i wanna test my app,
cordova platform add android
cordova -d plugin add https://github.com/phonegap/phonegap-facebook-plugin.git --variable APP_ID="123456789" --variable APP_NAME="myApplication"
android update project --subprojects --path "platforms/android" --target android-19 --library "CordovaLib"
android update project --subprojects --path "platforms/android" --target android-19 --library "FacebookLib"
cd platforms/android/
ant clean
cd FacebookLib
ant clean
open -e AndroidManifest.xml
// change your minSdkVersion and your targetSdkVersion to your environment settings for me it was:
// <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17" />
ant release
cd ../../..
cordova build android