twitter-archive / twitter-kit-ios

Twitter Kit is a native SDK to include Twitter content inside mobile apps.
Apache License 2.0
688 stars 449 forks source link

TwitterKit Login always fails first try then succeeds second try - Swift, TwitterKit #100

Open Ravisendhav21 opened 5 years ago

Ravisendhav21 commented 5 years ago

One line summary of the issue here.

Expected behavior

As concisely as possible, describe the expected behavior.

Actual behavior

As concisely as possible, describe the observed behavior.

Steps to reproduce the behavior

Please list all relevant steps to reproduce the observed behavior.

patrickjquinn commented 5 years ago

I'm seeing this too, the first login attempts to open the Twitter app for auth and then fails, calls back to my app and retries with the WebView.

reemdaraghmeh commented 5 years ago

Hello,

Does anyone have a solution or a workaround for this issue ?

nzeltzer commented 5 years ago

We're seeing the same issue.

aiyub007 commented 5 years ago

same issue. tried this too.

let store = Twitter.sharedInstance().sessionStore store.reload() for case let session as TWTRAuthSession in store.existingUserSessions() { store.logOutUserID(session.userID) }

If anyone have solution please help

remirobert commented 5 years ago

I have the same issue.

jagsrajput21 commented 5 years ago

Have anyone found the solution? It's happening with me too.

jskidd3 commented 5 years ago

Also seeing this issue. Sorry to tag directly but @rajul-arora @katejlee are you able to help at all?

We are seeing this problem on iOS. Sometimes the Twitter app will successfully return and allow the app to authorise, but other times it immediately returns to our app and loads a WebView prompting for authorisation again which is inconvenient for users.