Answers for "how to get user id from firebase authentication in flutter"

5

getting uid of user firebase flutter

final FirebaseUser user = await auth.currentUser();
final userid = user.uid;
Posted by: Guest on May-13-2020
0

how to sign out user in flutter with firebase authentication

final FirebaseAuth _auth = FirebaseAuth.instance;

Future<void> _signOut() async {
    await _auth.signOut();
    await _googleSignIn.signOut();
  }
Posted by: Guest on July-03-2020

Code answers related to "how to get user id from firebase authentication in flutter"

Browse Popular Code Answers by Language