The server gets
user location coordinates and stores it in the database
and then it calculates the distance between two
mobile devices that is two friends or family members
based on the coordinates information stored in the
database and sends alert message if the friends that
are nearer to each other.