Unable to locate command :: org.apache.cordova.facebook.Connect

痴心易碎 提交于 2019-12-11 10:21:28

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!