Keep users logged in on WebView

I have a mobile app that is using webapp.

When users are logged in and then quit the browser / switch to another page / close the page
and then go back to the website, it logs out.

Is there a way to keep them connected like the appstore version?

I thought of adding device info plugin, then making a database with device infos + log ins, when a device matches an item in the database it logs them in automatically

Hello, as I understood, you mean that you have a web app and it’s not saving the user’s info and the user should log in each time he enters the web app from the same browser again?