I used create session by token
(sent by a function)
The question is: the app log out from the session after a day or so.
The session still present in appwrite but not in the app.
TL;DR
Developers experiencing issues with a Flutter app find that the login session is not persistent, logging out after a day despite the session being active in Appwrite.