Learn Courses My Dashboard

Firebase Rules.. the final step to launch

Hello! I am one step away from launching my first app! I need to implement a method for users to block one another within my app. I think I can make this possible by configuring Firebase Firestore Database rules. As of now I have a method for users to add the user_id of the user they want to block to an array, but I need make it so they now can’t see content from that user.
**

** Main question*

How can I reference my Firestore Database data within the Rules of my database… I have looked everywhere and watched a lot of YouTube

I’m trying to allow users to block one another through Read conditions.
**

My app is crashing due to reason -[FBLPromise HTTPBody]: unrecognized selector sent to instance 0x600002164870’