Best way to use native facebook login in android and ios cordova app?

I am creating an ios / android cordova meteor app and all the documentation and plugins seem to be from years ago? Is there any good documentation on implementing native facebook login for both android and ios? I am currently using version


I appear to have found this which should be fine -

The next problem I encounter is installing the facebook cordova plugin -

The problem after I build my app meteor build, etc and go to the android package directory and run ‘cordova plugin add cordova-plugin-facebook4 --save --variable APP_ID=“123456789” --variable APP_NAME=“myApplication”’ with my details I get the error ‘Error: Current working directory is not a Cordova-based project.’. Am I doing something wrong here? Am I meant to install it another way? I have the cordova cli installed.


This is not the proper way to install cordova plugins in meteor.
to install this plugin in Meteor, use this command:
meteor add cordova:cordova-plugin-facebook4@VERSION
(read this for more info )

Did this work out for you?