Stuck on a Google OAuth Bug in My Social App, Help Needed!

0
7
Asked By CuriousCoder92 On

Hi everyone! I'm Teja, and I'm the founder of a social commerce app that I'm currently working on. I don't have much experience with native coding, so instead of waiting for a developer co-founder who's been a bit unreliable, I decided to build a minimum viable product (MVP) on my own. I'm using Antigravity, Supabase, and Expo for this. Everything is set up, but I'm facing a frustrating issue: after signing in with Google OAuth, the app just keeps loading with the spinner and doesn't move past that. The only way to get it to work is by refreshing the app. I need to resolve this before I can submit it to the Play Store. Also, I need to set up the native Google OAuth since the Expo Auth won't function in the Android APK. If anyone can guide me to fix this issue and help set up native Google OAuth, I'd really appreciate it!

2 Answers

Answered By TechieTommy On

It sounds like a frustrating situation! First off, make sure your Google OAuth credentials are set up correctly in the Google Developer Console. Check the redirect URIs and ensure they match what's in your app. Also, try clearing your app's cache and restarting it; sometimes, that helps with persistent loading issues. As for implementing native Google OAuth, you'll need to update your dependencies and ideally follow the official documentation for Expo to ensure everything is integrated smoothly.

Answered By DevGuru23 On

You might want to look into the network requests being made after the Google sign-in. Use debugging tools to see if any errors pop up when it gets stuck. If everything seems fine on that end, it could be a timing issue with your loading spinner; consider adding some error handling to manage long loading times better. As for the native OAuth setup, check out the guides for using the `expo google-sign-in` library, as it might help streamline the process for you.

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.