I have been stuck on this for weeks now and feel hopeless (I am completely new to the app world so please bare with me) .
I am unable to figure out how to block users on my chat app. I have tried creating different relationships within the collection but it’s still not working.
Is there perhaps a step to step guide? I have contacted support but sadly they’ve said it’s out of their scope.
Hello, can you put in the user base a true or false that is userblokeado… then you filter the chat that is only available for userblokeado= false … … how to block the user? You can add a button next to the chat… when you click, you open a page or modal that shows you the photos and users of the chat… next to each user, put a button that says block user… when you click, you will win an action that is update current user>userblocked>true.
You can play with these two options that we gave you… you can always reach the same goal by many different paths
Create two TRUE OR FALSE properties
Property a - USERS I BLOCKED
Property b - USERS THAT BLOCKED ME
You have successfully created the database you need for BLOCKING
The next part is to use this logic where ever it applies.
If it’s a LIST of CHATS OR WHATEVER,
Apply the logic.
For instance, if a list of chats, you label the List and say, LIST OF CHATS, then use a custom list to say…EXCEPT USERS THAT I BLOCKED AND/OR USERS THAT BLOCKED ME!
I have input the first aspect when creating properties, however is there a way I could create this in the chat via a block icon? So in the chat I have placed a block button and I would want the user to click that and the user they are speaking with is automatically blocked?
Thank you so much @Yongki! I have started to look through this.
@endieumunna thank you! I will try this. How would I put together the visibility rule especially in the Home Screen. That is the aspect I am finding difficult. When I go back onto the screen I can still see the user and can message them. Thanks!!
I have managed to get together a list of blocked users sorted on the data base but blocked users are still showing on the Home Screen and Start a conversation screen. I have tried filtering… so user>blocked by>does not contain>logged in user.
Can someone please respond to me? It would be greatly appreciated. Or perhaps steer me in the direction of an app expert who I can perhaps pay an hourly fee to help me resolve.