We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bdd4f5 commit 3a4935dCopy full SHA for 3a4935d
packages/auth/lib/index.js
@@ -366,10 +366,8 @@ class FirebaseAuthModule extends FirebaseModule {
366
.then(userCredential => this._setUserCredential(userCredential));
367
}
368
369
- signInWithRedirect() {
370
- return this.native
371
- .signInWithProvider(provider.providerId, provider.customParameters?.login_hint)
372
- .then(userCredential => this._setUserCredential(userCredential));
+ signInWithRedirect(provider) {
+ return this.signInWithPopup(provider);
373
374
375
// firebase issue - https://github.com/invertase/react-native-firebase/pull/655#issuecomment-349904680
0 commit comments