Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();
- user.updateEmail("user@example.com")
- .addOnCompleteListener(new OnCompleteListener<Void>() {
- @Override
- public void onComplete(@NonNull Task<Void> task) {
- if (task.isSuccessful()) {
- Log.d(TAG, "User email address updated.");
- }
- }
- });
Add Comment
Please, Sign In to add comment