Open wheelz13 opened 10 years ago
Hi, after this step
Select App Properties > Android > add FacebookSDK as a library
You should be done.
Don't use anything from /sample
use the code from bottom of this README https://github.com/aogilvie/phonegap-facebook-plugin/tree/backwardCompatUpdate
Hello I m having the exact same issue. Not sure i understand your response. Should we install your plugin instead of the main one?
I did not, I installed your plugin and it has the same mistakes that the other
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/src/superspawn.js:126:23) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:743:16) at Process.ChildProcess._handle.onexit (child_process.js:810:5)
Hi there, I ran into the same problem and was able to fix it by changing this line https://github.com/phonegap/phonegap-facebook-plugin/blob/master/src/android/ConnectPlugin.java#L337 to return true;
The code path hits this line when calling init()
, telling the cordova plugin manager that this is an invalid action
.
I am no java|cordova expert and suspect that a correct fix would be more complex but I have been able to login this way.
Are you getting this error in LogCat?:
06-06 15:17:16.750: D/PluginManager(6043): exec() call to unknown plugin: org.apache.cordova.facebook.Connect
Yes. I also migrated to old 0.4.0 version last week. it is working for me in both platforms. Though I only using login/logout functionalists.
I'm currently building an app the will be using the Apache Cordova Facebook Plugin to communicate and authenticate users.
I had it working about a month ago, and then I was getting close to the end of development when I decided to upgrade to the newest version of Apache Cordova Facebook Plugin and Facebook SDK - now I cannot get it functioning.
I'm not sure if Facebook has changed something, or if Cordova Facebook Connect plugin has issues now - I am literally stuck :(
Here are the steps I'm taking and my results:
NOTE: I have deleted all programs and SDK's from my computer each time before attempting this to eliminate any cross version issues.
Like I said - I have tried manual installs and CLI installs, none will work!
Other versions that I have tried:
Thanks for any help!
Also posted: http://stackoverflow.com/questions/23555984/apache-cordova-facebook-plugin-fail-on-init-android