get current user doesnt work in emulator firebase code example
Example 1: angular install firebase tools
npm install -g firebase-tools
Example 2: npm firebase
npm i firebase
Example 3: how to check the current user in firebase android
@Override
public void onStart() {
super.onStart();
FirebaseUser currentUser = mAuth.getCurrentUser();
if (currentUser == null) {
// No user is signed in
} else {
// User logged in
}
}