Looking for some help/guidance with clearing the local persistence in react native async storage when a user signs out
Currently I have to manually clear cache and reload the app after signing in with a new user to delete persisted data from the previous user
I call this function after signing out via the supabase sdk
const noteState$ = syncState(notes$);
await noteState$.clearPersist();
But when I sign in with a new user, the old data is still visible
Looking for some help/guidance with clearing the local persistence in react native async storage when a user signs out
Currently I have to manually clear cache and reload the app after signing in with a new user to delete persisted data from the previous user
I call this function after signing out via the supabase sdk
But when I sign in with a new user, the old data is still visible