Local storage in PWA

Hi everyone,

What happens to a variables marked to be saved to local storage when using the application as PWA. Is it cleared after the application is closed or is it preserved on a phone/tablet and restored after reopening the application?

If it is not stored on a mobile device what is the bet way to achieve such functionality?

Dominik

Why should the local storage functionality be different on a PWA? It should be the same, keeping the data stored on the users’ devices to recover the data when they launch the app again. Did you experience any difference in a PWA?