So my stack: Next.js + Supabase + Capacitor iOS, app loads from remote URL (not local bundle). Using createBrowserClient from u/supabase/ssr.
Every time the app is fully killed and reopened the user is logged out. I have tried:
createBrowserClient — ignored/supabase-js with localStorage — localStorage gets cleared/supabase-js second client with Capacitor Preferences as storage, syncing session across — still logs outHas anyone actually solved session persistence in this exact setup?
The user is experiencing session persistence issues with a Capacitor iOS app using Supabase. Each time the app is killed and reopened, the user is logged out. Attempts to use different storage methods, including a custom storage adapter and Capacitor Preferences, have failed to maintain the session.