You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
05-02 15:31:37.442 17158-17158/com.firebase.uidemo E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.firebase.uidemo, PID: 17158
java.lang.IllegalStateException: Must initialize Twitter before using getInstance()
at com.twitter.sdk.android.core.Twitter.checkInitialized(Twitter.java:143)
at com.twitter.sdk.android.core.Twitter.getInstance(Twitter.java:151)
at com.twitter.sdk.android.core.TwitterCore.getInstance(TwitterCore.java:88)
at com.firebase.ui.auth.AuthUI.signOutIdps(AuthUI.java:458)
at com.firebase.ui.auth.AuthUI.signOut(AuthUI.java:383)
at com.firebase.uidemo.auth.SignedInActivity.signOut(SignedInActivity.java:95)
at com.firebase.uidemo.auth.SignedInActivity_ViewBinding$1.doClick(SignedInActivity_ViewBinding.java:44)
at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22)
at android.view.View.performClick(View.java:6294)
at android.view.View$PerformClick.run(View.java:24770)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Expected Results:
Signing out...
Relevant Code:
privateTask<Void> signOutIdps(@NonNullContextcontext) {
if (ProviderAvailability.IS_FACEBOOK_AVAILABLE) {
LoginManager.getInstance().logOut();
}
if (ProviderAvailability.IS_TWITTER_AVAILABLE) {
// CRASH IS HERETwitterCore.getInstance().getSessionManager().clearActiveSession();
}
returnGoogleSignIn.getClient(context, GoogleSignInOptions.DEFAULT_SIGN_IN).signOut();
}
The text was updated successfully, but these errors were encountered:
05-02 15:31:37.442 17158-17158/com.firebase.uidemo E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.firebase.uidemo, PID: 17158
java.lang.IllegalStateException: Must initialize Twitter before using getInstance()
at com.twitter.sdk.android.core.Twitter.checkInitialized(Twitter.java:143)
at com.twitter.sdk.android.core.Twitter.getInstance(Twitter.java:151)
at com.twitter.sdk.android.core.TwitterCore.getInstance(TwitterCore.java:88)
at com.firebase.ui.auth.AuthUI.signOutIdps(AuthUI.java:458)
at com.firebase.ui.auth.AuthUI.signOut(AuthUI.java:383)
at com.firebase.uidemo.auth.SignedInActivity.signOut(SignedInActivity.java:95)
at com.firebase.uidemo.auth.SignedInActivity_ViewBinding$1.doClick(SignedInActivity_ViewBinding.java:44)
at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22)
at android.view.View.performClick(View.java:6294)
at android.view.View$PerformClick.run(View.java:24770)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Expected Results:
Signing out...
Relevant Code:
privateTask<Void> signOutIdps(@NonNullContextcontext) {
if (ProviderAvailability.IS_FACEBOOK_AVAILABLE) {
LoginManager.getInstance().logOut();
}
if (ProviderAvailability.IS_TWITTER_AVAILABLE) {
// CRASH IS HERETwitterCore.getInstance().getSessionManager().clearActiveSession();
}
returnGoogleSignIn.getClient(context, GoogleSignInOptions.DEFAULT_SIGN_IN).signOut();
}
Step 2: Describe your environment
Step 3: Describe the problem:
Steps to reproduce:
SignedInActivity
Observed Results:
Expected Results:
Relevant Code:
The text was updated successfully, but these errors were encountered: