问题
Windows Phone 7 app development with cordova 2.3.0. I get the error 'Unable to locate command :: org.apache.cordova.facebook.Connect' on FB.login. I started off with the code base that works fine in Android. What am I missing or not doing right on Windows? Any detailed documentation about PhoneGap WP7 and Facebook plugin integration?
回答1:
try to set the namespace in call method:
look my example:
Cordova.exec(null, null, "WP7GapClassLib.PhoneGap.Commands.MyCommand", "SendRequest", args);
来源:https://stackoverflow.com/questions/14743345/unable-to-locate-command-org-apache-cordova-facebook-connect