FirebaseExtended / reactfire

Hooks, Context Providers, and Components that make it easy to interact with Firebase.
https://firebaseopensource.com/projects/firebaseextended/reactfire/
MIT License
3.51k stars 399 forks source link

useSigninCheckResult.signedIn always false for email on iOS app but true on web #557

Closed matheusbaumgart closed 1 year ago

matheusbaumgart commented 1 year ago

Version info

React: 18.1.0

Firebase: 9.11.0

ReactFire: 4.2.1

Other: "@capacitor-firebase/authentication": "^1.1.0", "@capacitor/core": "^4.0.0",

Test case

Steps to reproduce

  1. signInWithEmail from a Capacitor app,
  2. listen to useSigninCheckResult.signedIn

Expected behavior

For useSigninCheckResult.signedIn to be true, as it happens when signing in from the web.

Actual behavior

useSigninCheckResult.signedIn is always false, even tho I get the user object back.

Comment

I realise this could be an issue with @capacitor-firebase/authentication, I'll log it there as well. Apologies for not having a repro yet, will try to add it soon.

matheusbaumgart commented 1 year ago

Closed as it was a misconfiguration on @capacitor-firebase/authentication from my part 😅