S
Supabase2mo ago
Noroup

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
ihm40
ihm402mo ago
does anyting appear in the console in dev tools?
Noroup
NoroupOP2mo ago
I haven’t checked, it’s just a white background with an activity indicator every time it logs me in
ihm40
ihm402mo ago
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?
Noroup
NoroupOP2mo ago
This is on my react native device. Local host makes no difference
ihm40
ihm402mo ago
oh right, you mentioned it's react native. Does it log you in or does it stay stuck in activity indicator?
Noroup
NoroupOP2mo ago
it logs me in brotha
ihm40
ihm402mo ago
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

Did you find this page helpful?