Facebook connect plugin is not working in android but working in ios

非 Y 不嫁゛ 提交于 2019-11-28 12:32:08

问题


i have a plugin

<gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.9.0"> <param name="APP_ID" value="998855950166112" /> 
<param name="APP_NAME" value="abc" /> 
</gap:plugin>

This plugin is for fb connected i have issue that its working on ios but not in android. i have search in phonegap repository and and also in npm repository but i didn't get. is this issue for not updating plugin.code is perfect because its works fine on ios. i have search update of plugin but didn't get it. give me guidance for finding update of plugin i am new bee in phonegap so i didn't get any.


回答1:


That plugin is deprecate. This is the 5th time tonight. Don't you guys check your sources.

I am posting this link with the hope you will read the entire document.

Top Mistakes by Developers new to Cordova/Phonegap

In fact your error was

11. You need to get your plugins from NPM now.

How did I figure this out? I did a google search of your plugin: com.phonegap.plugins.facebookconnect

About three (3) links down is your plugin: FacebookConnect

The documentation says

REPOSITORY IS NOW DEPRECATED!!!

Please go here

READ THE DIRECTIONS CAREFULLY. This is an ugly plugin. The correct links are:

  • github
  • npm

Your new plugin setting is:

<gap:plugin name="cordova-plugin-facebookconnect-orlando" source="npm" version="0.11.0">



来源:https://stackoverflow.com/questions/33338686/facebook-connect-plugin-is-not-working-in-android-but-working-in-ios

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