SFSafariViewController doesn't automatically navigate back to my app


#1

I get stuck with this screen.
I thought it should be navigated back to my application and enter my completion block with valid session.

This is the code that I executed

        Twitter.sharedInstance().logInWithViewController(self.viewController, methods: .All) { (session, error) in
        if let session = session {
            self.getUserDetails(with: session, and: completionBlock)
        } else if let error = error {
            completionBlock(user: nil, error: error)
        }

Thanks in advance.


#2

Hey @iMacbaszii,

I’m trying to reproduce this locally and haven’t been able to so far. Do you have a callback URL setup on your Fabric Digits dashboard?

Also, what iOS version and Twitter Kit version are you testing on?

-Mike