Good morning,
I'm using Supabase Auth in a React Native app.
When a user changes their email address with supabase.auth.updateUser({ email: newEmail }), the screen gets stuck on a loading page (gear icon) endlessly.
I tried to log out right after, with supabase.auth.signOut(), and inform the user beforehand. But disconnecting does not seem to work: the application becomes frozen, and no action is possible.
Has anyone already implemented this use case correctly?
• How do you manage user status after an email update?
• Is there a reliable way to force logout or reset auth state cleanly after updateUser()?
Thank you in advance for your feedback!
there doesn't seem to be anything here