my APP has a features so users can add - remove friends
so now we only have 1 user datababase
how we can have user add or remove or block other users ?
I would say each user can have a “Friends” data type with the Type set as User (as a list). Then you can add and remove to the list.
Also, same thing with blocked users.
Here is a very simple example on how to do it:
Editor:
Preview:
2 Likes
Check this out to see how they did it
1 Like
This topic was automatically closed after 70 days. New replies are no longer allowed.