Android provides carrier phase access for a while now, and with that relative positioning between such devices in about the same neighborhood can be done with enough precision that you have to care about where in the device the GNSS antenna lurks. That alone isn't too fancy; it gets good once you throw in the accelerometer and gyroscope in each device. Because with that you get this not only in realtime, but also wit…
Sounds interesting! Does this approach work in indoor scenarios? Would you mind to provide some further links/papers to this topic?
"Indoor GPS" using bluetooth beacons is technically possible but the space is filled with proprietary protocols/apps that try to make money by serving ads. It unfortunately doesn't seem to be evolving into a more useful extension of google maps.