I also encountered that problem when updated to Twitter app 9.54.0-release.0
, I couldn't get token from SingleSignOnActivity
. Yesterday Twitter already released 9.54.1-release.0
, new version solved that problem, you can get token from SingleSignOnActivity
, so my implementation is when my app can't get token then I show a dialog to notify user to update Twitter app to latest version, and try to login again.
I think searching Twitter app is from twitter-kit-android
, so it doesn't work when you remove queries from your app.https://github.com/twitter-archive/twitter-kit-android/blob/02ea78c269ec50161d4bb565441f0fef74fc72b8/twitter-core/src/main/java/com/twitter/sdk/android/core/identity/SSOAuthHandler.java#L151