Webview page to log in

I want to create a webview page to log in

Is there a way I can hide the login page if the user is already logged in?

One thing you can do is, if login successful you can use tinydb yo save the details. Next time while screen initia just call this tinydb, if it is empty he is not logged in else he is logged in. So you can set web view webpage according to that,

What happens when the user is already logged in? You can hide the Webview until the url is loaded.

If the User is already logged in the url should be not the same than from the log in screen.

This topic is regarding this problem I quess

https://community.kodular.io/t/login-webview-problem/

Use web view url in screen init depending upon tinydb value