If user logged in successfully then save the screen name with tinydb db tav value as user name…
So next time if the user try to login, then directly open the saved screen from tinydb
1 Like
Try using this :-
After user did login, store a value in TinyDB names as “Login” and make a splash screen ex. screen 1, whenever the screen is initialize, do this :-

It might help you,
Thanks and regards,
Rudransh Shukla.
1 Like
Mark My Reply As A Solution If It fixed your problem, Thanks.
1 Like
I can’t understand it well, please tell in brief. Thanks.
Do not login into your account on another device.
Block cannot work. Help me. Thanks
Check if the user is already have account then compare his current device id with his old device id if it matches then continue with login otherwise show error that other device detected something.
Please check for yourself, it doesn’t work.
Once the user is logging in, make sure to store user’s device id on any storage such as airtable or google spreadsheet, firebase etc, and whenever they sign in, try this :-

Thanks. @trung_phan_hoang
Please view the above reply buddy, Thanks. @trung_phan_hoang
1 Like
I think the blocks you did are totally correct, I am sorry if I am wrong, try testing and letting me know if it’s working perfectly. Thanks.