To make a application to track location of phone - you can use built in location functionality of the respective os (android or ios). And yes it will need permission of location services in order to use it. This way you can get real time time location of your device using built in Apis.