How can I fix an infinite loading issue with Google OAuth in my social commerce app?

0
2
Asked By TechSavvyNinja42 On

Hey everyone! I'm Teja, the founder of a social commerce app, and I'm trying to build an MVP on my own since it's been tough to find a co-founder who can code. I'm using antigravity, supabase, and expo, and I've run into a problem. After users sign in with Google OAuth, the app gets stuck on an infinite loading spinner, and the only way to get it to work is by reloading the app. I really need to solve this issue before submitting to the Play Store. Additionally, I'm looking to implement native Google OAuth since the expo auth link can't be used in the Android app. Any advice on how I can tackle these problems would be hugely appreciated!

1 Answer

Answered By CodingWizard77 On

It sounds like the redirect URI might not be set up right for your production build. Check out the Expo docs on authentication to make sure everything is configured properly. Sometimes a simple misconfiguration can lead to issues like this.

TechSavvyNinja42 -

Thanks for the tip! I did set up the redirect URI, and it was working fine until the logout/login situation. Reloading lets me in, but I need to figure out why it hangs in between.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.