Closed lujun525 closed 1 year ago
val twitterAuthClient = TwitterAuthClient() twitterAuthClient.authorize( this, object : Callback() { override fun success(result: Result) { val authToken = result.data.authToken val token = authToken.token }
override fun failure(exception: TwitterException) { } })
As above,callback Some mobile phones authToken.token = null,How can we solve it
If you’re talking about the recent Twitter for Android 9.54 release, try 9.54.1 which came out to fix that.
val twitterAuthClient = TwitterAuthClient() twitterAuthClient.authorize( this, object : Callback() {
override fun success(result: Result) {
val authToken = result.data.authToken
val token = authToken.token
}
As above,callback Some mobile phones authToken.token = null,How can we solve it