Reputation: 839
I'm making two apps App1 & App2 which they share the same firebase database, but when user register with an email they can't register with it in App2, I got "email already exists".
How can I separate these two projects and share the the same database and the user still register with the same email in the two apps?
Upvotes: 3
Views: 1599
Reputation: 599946
As far as I can see, this is working as intended.
If the apps are meant to be perceived as separate applications for the user, they should be on separate projects on Firebase.
If the apps are meant to be perceived as part of the same product, then it makes sense that the user can register in one and then log in in the other app.
Alternatively: allow the same email address to be used in multiple accounts, by setting One account per email address to Allow creation of multiple accounts with the same email address in the Firebase Authentication console.
Upvotes: 2