ngCordova / commands fail while installing Facebook Plugin Android


#1

I’m following the ngCordova documentation to install FacebookConnect plugin in Android context.

So I typed the following command:

sudo cordova -d plugin add https://github.com/phonegap/phonegap-facebook-plugin.git --variable APP_ID="123" --variable APP_NAME="MyAppName"

And it generates the folder com.phonegap.plugins.facebookconnect.
The documentation does not mention it.
So the specified command failed.

Is it normal?


#2

I found the trick.

The ngCordova documentation related to Android and Facebook should be updated to this (at the very bottom):


#3

Would you mind putting together a pull request for this?


#4

Yes of course.

It’s done: https://github.com/driftyco/ng-cordova/pull/409