To measure the distance between two devices, one device sends a request to the other. Once the recipient accepts the request and agrees to share their location, the requester will display the distance between themselves and the recipient. If the user authorizes the use of their phone number, the current phone number will be used as the ID; otherwise, a temporary PIN code will be used as the ID.