
Hi, I am currently struggling with keeping the created session alive when closing the app completely on the iPhone.
I tried different things, like storing credentials in the keychain, that does not work for me. If the app is getting closed, the first screen when opening the app again is the Welcome page and the user is logged out. Any ideas on that?

If you're using the Appwrite SDK, session persistence is handled automatically. You would need to call account.get()
on app start to see if there's a session already. If it throws an exception, there's no session, so redirect the user to the log in page
Recommended threads
- URL attribute in "processing" state
Good day everyone! I just started learning React/Vite. In my current database right now I have these 4 attributes, and the URL attributes seems to still be in ...
- Mariadb keeps Restarting / Fails to init...
Ive just setup Appwrite on my docker compose host using the supplied Docker compose commands. My issue is that the mariadb container keeps restarting and fails...
- upsert_documents is not work with jwt cl...
client.set_jwt(jwt) databases = Databases(client) databases.upsert_documents(General, Pallets, [{"$id": "684aeb3e0021e64c10f1", "name": 'тест '}]) This code al...
