热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

CordovaSocialSharing插件-Facebook回调错误-CordovaSocialSharingPlugin-FacebookCallbackError

IvebeenusingtheSocialSharingplugininmyCordovaappformanymonthsanditsbeenworkinggre

I've been using the SocialSharing plugin in my Cordova app for many months and it's been working great, and I rely on its FB Sharing's callback functionality to track if people shared a post.

我已经在我的Cordova应用程序中使用SocialSharing插件好几个月了,而且它一直很好用,我依靠它的FB Sharing的回调功能来跟踪人们是否共享帖子。

However, I just discovered that the callback stopped working correctly on iOS 8.1.

但是,我刚刚发现回调在iOS 8.1上停止正常工作。

When I click on the "Cancel" in the FB dialog popup, the plugin calls the success function and returns "true" as the parameter. Previously it would call the success callback, but pass in a "false" parameter, so I'd be able to determine if it was "Cancel" or "Post" button that the user clicked on.

当我点击FB对话框弹出窗口中的“取消”时,插件调用success函数并返回“true”作为参数。以前它会调用成功回调,但传入一个“false”参数,所以我能够确定它是否是用户点击的“取消”或“发布”按钮。

I have tried updating to the latest version of the plugin, but it still fails on my iPhone 6 running iOS 8.1.

我已经尝试更新到最新版本的插件,但它仍然在运行iOS 8.1的iPhone 6上失败。

If I test it on my iPad running iOS 7, the Cancel button works fine. Can someone please advise on how to resolve it?

如果我在运行iOS 7的iPad上测试它,“取消”按钮工作正常。有人可以建议如何解决它?

Below is the SocialSharing plugin official page: https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin

以下是SocialSharing插件官方页面:https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin

Thank you.

1 个解决方案

#1


This issue has been solved as of today, when Facebook updated their app. To resolve the problem, user needs to update the Facebook app.

截至今天,当Facebook更新他们的应用程序时,此问题已得到解决。要解决此问题,用户需要更新Facebook应用程序。

Further details are available at this Facebook bug report: https://developers.facebook.com/bugs/962985360399542/

有关详细信息,请访问此Facebook错误报告:https://developers.facebook.com/bugs/962985360399542/


推荐阅读
author-avatar
该过自我故事_191
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有