[Bug] TWTRLoginMethod.WebBased Login causes unexpected ViewController dismiss when network is unconnectable

ios
fabric
login
bug

#1

We encountered following issue.

  1. present(modal) Controller.
  2. call “Twitter.sharedInstance().logInWithViewController(controller, methods: TWTRLoginMethod.WebBased)” on Presenting Controller
  3. if network is unconnectable, Presenting Controller was dismissed unfortunately.

(do “1. 2.” next “3.” is caused)

Is this bug? or Can we avoid this unexpected dissmiss?

thank you for your help.


[Bug][TwitterKit][iOS] - SFSafariViewController login dismisses my view controller
TwitterKit is dismissing callee controller in airplane mode
#2

Can you share the code around when this happened? Also, does this happen every time you follow steps 1-3?

Finally, which version of Twitter Kit are you using?