Search code examples
iosswiftfacebookuiwebviewfbsdkappinvitecontent

FBSDKAppInviteDialog doesn't load list of friends


UIWebView page that was opened by showing FBSDKAppInviteDialog doesn't load list of friends as usual, but stops either at an empty page state or at the infinite loading indicator state.

    let text = "invite text"
    content.appLinkURL = URL(string: "valid_url_to_fb_me")!
    content.promotionText = text
    content.promotionCode = "\(code)"
    
    let dialog = FBSDKAppInviteDialog()
    dialog.fromViewController = self.viewController
    dialog.content = content
    dialog.delegate = self
    dialog.show()

And FBSDKAppInviteDialogDelegate methods were not called.

This behaviour was not reproducible a week ago.

iOS Simulator 10.2, same behaviour on the iOS 10.2.1 on real device the iPhone 5S and iPad mini 9.2.

Facebook SDK - 4.15.1

Thanks in advance for any help or sugestions.



Empty Screen state Loading indicatator state


Solution

  • the bug is on Facebook's side: https://developers.facebook.com/bugs/721787828000962/