Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upIllegalStateException in OAuthActivity #105
Comments
This comment has been minimized.
This comment has been minimized.
stephanedupont
commented
Mar 2, 2018
|
So basically this SDK is not maintained? |
This comment has been minimized.
This comment has been minimized.
Ha-So
commented
Aug 13, 2018
|
Pretty much friend, good luck. |
This comment has been minimized.
This comment has been minimized.
momo88xiaowu
commented
Aug 24, 2018
|
Is this problem still not solved? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
stephanedupont
commented
Aug 24, 2018
|
Thank you, but no, it's already the case in my code. |
This comment has been minimized.
This comment has been minimized.
xaxa10
commented
Sep 19, 2018
|
Me too, com.twitter.sdk.android.core.identity.OAuthActivity}: java.lang.IllegalStateException: Must initialize Twitter before using getInstance(). using implementation 'com.twitter.sdk.android:twitter-core:3.1.1' When open login wih Twitter, then go to another app, when return throws exception in my thread. Any solution? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
stephanedupont commentedFeb 4, 2018
•
edited
Hi there,
I’m using the Twitter Kit for Android to enable users to signin via Twitter in an app. It works fine and all the testing I have done are good, works as a charm.
But I have some crash report in Crashlytics:
I did a quick search and:
In the fragment where I allow users to sign in, I use this:
(and so as you can see I call initialize before doing anything with the twitter auth client)
The crash is happening in the twitter-core-3.1.1 OAuthActivity class. And indeed, it seems that there’s no call to Twitter.initialize() here.
Is this a known issue?
Thank you,
Stéphane.