To do list app with username & password user have made

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.

Pls kindly help me, thank you!

Here are the preview of my work


You're expecting multiple people to share the same phone?

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:

  1. Each user should only see their own tasks, stored under their own account.

  2. Tasks should not mix together between different users.

Note: Login user uses CloudDB, while Task lists uses TinyDB

This post was flagged by the community and is temporarily hidden.

You should use a different tag or a different namespace for each user

Taifun

I don't think this is the right use case for your app. why do people use single phone for such multiple task mean it dose not make any sense...

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

This keeps all the task lists separate, by name.

This scheme works in both TinyDB and the cloud.