White Flash Screen whenever I log in using Supabase auth
Hello there, whenever I log into my app using Supabase auth, there is a sudden white flash along with an activity indicator. How do I get rid of this? I am using React Native BTW. Thank you.
7 Replies
does anyting appear in the console in dev tools?
I haven’t checked, it’s just a white background with an activity indicator every time it logs me in
i would check the console logs when you log in and see if it shows anything. Just to confirm is this on localhost and does it actually log you in or does it stick to the activity indicator?
This is on my react native device. Local host makes no difference
oh right, you mentioned it's react native. Does it log you in or does it stay stuck in activity indicator?
it logs me in brotha
what i think might be happening is a null user that hasn't logged in yet hence why you get that white screen and then afterwards when the user logs in it goes away. I don't think there is anyway to speed up the logging in process. I think the fix here might be a UI change where you have some kind of "Logging in..." message during that process