and-nd-firebase icon indicating copy to clipboard operation
and-nd-firebase copied to clipboard

getCurrentUser

Open kurd-dev opened this issue 4 years ago • 0 comments

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(); }

kurd-dev avatar Apr 25 '20 22:04 kurd-dev