Closed Franco98404 closed 1 week ago
Hi @Franco98404! I noticed you used a custom authentication, which needs a token to persist the session.
You can refer to the numeral 2 of this documentation for further information. Please, let me know if this works for you!
Hello @paulperez-dev, thanks for clarifying! For this case I decided put nothing for testing purposes but in my real project is set the 4 variables:
I am having a problem replicating the issue, my teammate and I are having issues and sometimes the app logs us out but other times the session stays active so we are very confused and don't know what else to try to replicate the issue :(
@Franco98404 You can start adding portions of the prod app to the blank project until you find the element, or combination of elements, that causes the issue.
I will be closing this issue since this tracker is for reproducible bugs.
Has your issue been reported?
Current Behavior
The web app or PWA logout when the user is offline
Expected Behavior
The web application or PWA must keep the session active and not log out, this is essential for applications that do not connect to the Internet
Steps to Reproduce
Now go to the phone
Reproducible from Blank
Bug Report Code (Required)
IT40jMmA7Y9On7xH15CBcMFFmiQ5JjM4U5ErlMJBaCgoIYyuOpl/evWkPxBWTtO+T1VcJUSmmmYD+c76j97pLflcHxCVRrpOzZFUeBXJcDu7UZOBBbWKP2htP8FMfVSx1MKNhSV5NbNoLkIAwE66I+qQbCbcHrWxIndISq/LZO4=
Context
The problem arises when the app is opened while out of the office and the mobile connection is not good so there may be micro cuts, so if the PWA is opened at that moment the session is closed
Visual documentation
Part 1 https://www.loom.com/share/e87bc6bf975a4ed49cfb2422898de406
Part 2 https://www.loom.com/share/180893ea1cd04b20acd511c3019c3798
Additional Info
No response
Environment
General
Relative to the time the changes were made, data was lost within
When following my steps to reproduce, data loss happens