fullstackreact/react-native-firestack

Authentication: Is there a method linkWithCredential

Opened this issue · 2 comments

Hi, there is already a method for signing in to firebase: firebase.auth.signInWithProvider(social, token, '') in firestack library.
but That's not all I need, how can i link anonymous account to google/facebook account, like method FirebaseUser.linkWithCredential(credential) do (this method is in android)

Or is there anyway for checking a google/facebook/email account is already existing on firebase???

I believe account linking method is available in the https://github.com/fullstackreact/react-native-firestack/tree/v3 branch. However this repo is pretty much abandoned. I would suggest you to move to https://github.com/invertase/react-native-firebase.