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
From.getCurrentUser(); in this part it doesn't t return any CurrentUser it give me the redline method how can i fix this ???
public void onAuthStateChanged(@nonnull FirebaseAuth firebaseAuth) {
FirebaseUser user= FirebaseAuth_.getCurrentUser();_
if(user!=null){
//user is signed in
Toast.makeText(MainActivity.this,"welcome to app",Toast.LENGTH_LONG).show();
}
The text was updated successfully, but these errors were encountered:
From.getCurrentUser(); in this part it doesn't t return any CurrentUser it give me the redline method how can i fix this ???
public void onAuthStateChanged(@nonnull FirebaseAuth firebaseAuth) {
FirebaseUser user= FirebaseAuth_.getCurrentUser();_
if(user!=null){
//user is signed in
Toast.makeText(MainActivity.this,"welcome to app",Toast.LENGTH_LONG).show();
}
The text was updated successfully, but these errors were encountered: