Hey,
I am using firebase in my android app that I am creating using unity engine, to sign in using google and Facebook.
Now what I actually wanted was that when a user has same email in both google and Facebook, then the user can log in using any one of both but the profile in my app or say user data will be the same because the email is the same. so literally I just want to merge the accounts of google and Facebook of the user.
Now when I sign in in my app using facebook first then I can see the user in my firebase with service provider Facebook, and after that when I sign in user with google then it works fine and lets me sign in but the provider in firebase is overridden; i actually want to merge them.
Secondly, if I first log in using google and then try to login using facebook, then i get an error saying that the same email with different credentials error. so i can't even sign in.
Can anyone, in the end, help me merge the two accounts in my app?
Thanks. :)