作者:该过自我故事_191 | 来源:互联网 | 2023-05-17 23:28
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 个解决方案