1

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

Community
  • 1
  • 1
skyylex
  • 855
  • 1
  • 10
  • 24

2 Answers2

1

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

BoygeniusDexter
  • 2,154
  • 1
  • 16
  • 14
0

The Facebook bug mentioned by BoygeniusDexter (https://developers.facebook.com/bugs/721787828000962/) is actually on Android not iOS.

Are you using the deprecated UIActionSheet to open FBSDKAppInviteDialog? If so removing UIActionSheet is your solution: https://developers.facebook.com/bugs/172327909915305/

Dan G
  • 143
  • 1
  • 6
  • Initial bug was reported by Android, but the issue was on the Facebook service side. So as you can see in the later comments same bug appeared on iOS clients as well. – skyylex Mar 21 '17 at 09:05