so basically i already make the to-do list app its on the screen 4, while the screen 1 consist a username login. I want to make this to-do list app can be access with every users privately if they already make user & pass. But im confused how to make the list stored to each username that has been made with user, so diff user of course they will only see their own to-do list.
No what i meant is right now, in my MIT App Inventor project, I have two separate parts:
Screen 1:
Login / Signup → To store username and password using CloudDB.
Screen 2:
To-Do List → To store tasks using TinyDB.
Here’s the problem:
All users end up sharing the same task list, because I’m saving everything under the same tag "Tasks". TinyDB is also local to the device, so if multiple accounts are used on the same phone, they still see the same combined list.
What I really want:
Each user should only see their own tasks, stored under their own account.
Tasks should not mix together between different users.
Note: Login user uses CloudDB, while Task lists uses TinyDB
In the login screen, save the username in TinyDB under the tag 'username'.
In the tasks screen on initialize event, grab the username from TinyDB and text JOIN it with 'tasks/' to get a user tasks tag like 'tasks/ABG'. Save that in a new global variable MyTasksTag. Use that tag for all your TinyDB task list access