invertase / invertase/tanstack-query-firebase

Can this package be used with react native? authentication does not pick up google login

Open
#85 0 comments 1 reaction 0 assignees View on GitHub
question react-query-firebase
Dominant language
TypeScript
Stars
462
Forks
69
PR merge metrics
No merged PRs in 30d

Description

I'm developing an application with expoand I'm trying to use this package.

Most of the features work, like queries and mutation. Authentication seems to be a bit tricky. I'm using just Google sign in. I cannot use the hooks from this package to login to google because is a mobile devise. I had to use expo auth session package.

Login with google works in expo, but when I push the code to Apple test flight authentication does not work.

By works I mean that I'm able to login with auth session package using google provider and useAuthUser picks it up, but in iOS, useAuthUser is not picking up the authentication. In iOS login to google works but useAuthUser is not picking up the user.

any ideas?

Contributor guide

Open the contributing guide

Research direction

The issue names Expo AuthSession, Google sign-in, and useAuthUser; start by reproducing the flow on iOS/TestFlight and compare it with the working Expo case. Done means the existing Google session is observed by useAuthUser on iOS, or the missing integration boundary is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
firebase, react-native, typescript
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.