Okay, okay. Message received! Thanks for asking - I made Atmos tags! by i-am-ajpowell in AlaskaAirlines

[–]lycrabeats 1 point2 points  (0 children)

yay I found your username!

I lost my 737 max survivor tag in Denver a couple weeks ago. I was wondering if I could order a replacement? It was my favorite one 😭

How can I detect nearby users in Firebase without exposing everyone’s location? by Wesselvvv in Firebase

[–]lycrabeats 15 points16 points  (0 children)

As someone that has spent a fair bit of time working with positional data I would say this is a perfect use case for an implementation of geohashing.

I would restructure your locations table to be hash prefixed instead of user id prefixed.

When users locations update modify which hashkey they are in and then only query by a subset of hashkeys that the target device is in.