I'm just trying to figure out a way to store user names and id's within a GeoFire node.
I want to save a location with GeoFire (using setLocation()) and I also want to save user credentials with it. I find it difficult since if I try storing something within a GeoFire node, it won't work well with GeoQueries. And if I try storing user credentials in FireBase, it will save in two separate nodes.
I've tried doing it where I make the key, of the GeoFire node, contain the username and userId and from there I can process that string and break it up to what I need. I'm not sure if this is an efficient method but it works. I just want to know if there's another way of doing this.