Given a email address, is it possbile to get userID of a person? For example,
If I have a variable email that has email of the person. Can I get their ID by doing so
This way you can login user with email and password and retrieve id:
FirebaseAuth.getInstance().signInWithEmailAndPassword(email,password).addOnSuccessListener(new OnSuccessListener() { @Override public void onSuccess(AuthResult authResult) { FirebaseUser user = authResult.getUser(); } });