I have an app where you can either sign in via Apple Sign In, or Google Sign In. Assuming I have had an Android where I have signed in with Google. Then I change to iPhone and want to use Apple Sign In.
Currently if I sign in with Apple, I will get a different uid from FirebaseUser
compared to what I get when I sign in with Google.
Is there a way I can detect that there already is a user on Firebase and get that uid instead?
I am using Flutter and have read about linking, but that was not exactly what I wanted.