I am trying to apply filters in query before i make the request, so i do this :
ref.where("status", "==", "online").onSnapshot ...
This is a very simple filter, but i want to do something more complicated than this, for example:
I want to read documents from collection "users", I want to get the users that have a position that is 3 km away from point A (using longitude and latitude of the users), and the status of that user is "online", and the ID of that user is different of the current user ID.
How can I do something like this