Frage

I am trying to implement the facebook connect plugin for my phonegap 3.2 app. I have used this branch of the plugin as it better supports phonegap 3.0.

I can't debug in Ripple because I can't call the plugins from Ripple and on an android device I get the following errors when FB.init is called

enter image description here

enter image description here

here is the init call

FB.init({ appId: "68962476XXXXXXXX", nativeInterface: CDV.FB, useCachedDialogs: false });

Does anyone have any idea why I am getting these or how to even go about investigating the cause? Thanks

War es hilfreich?

Lösung

OK, rookie mistake that I should not be making.

I was initially using IntelliJ and going by the messages in logcat. I tried everything I could, and then I switched IDE to Eclipse and voila, logcat now says call to exec() of unknown plugin. I have no idea why IntelliJ did not output this or why I totally skipped Step #2 of the Manual Installation Guide!

Anyway as embarrassed as I am to say it, this sorted me out.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top