0

I use Flutter and Firebase.

I do auth with:

FirebaseAuth.instance.signInWithCredential(credential)

I receive user in return and I want to know if the user is a new one or it is just a regular login.

Darkjeff
  • 397
  • 2
  • 3
  • 8

1 Answers1

0

You can create collection users or node in real-time database and check if there’s user with that Id.

i6x86
  • 1,557
  • 6
  • 23
  • 42