I am using Firebase and have a signup / login activities working fine but I also want each user to update a username. It seems I am unable to run:
firebaseR
FirebaseAuth.getInstance().getUid(); This API seems to have been removed in Firebase 12.0.0
FirebaseAuth.getInstance().getUid();
Use this instead FirebaseAuth.getInstance().getCurrentUser().getUid();
FirebaseAuth.getInstance().getCurrentUser().getUid();
with the appropriate null check, or use Firebase 12.0.1 where i now seems to have @Hide annotation