Testing Geolocation Apps Without Moving in Ionic

Geolocation apps are fun.
The only issue is … it depends on our position. Testing different scenarios on our device is bothersome because some OS don’t allow the use of GPS spoofers.
In this tutorial we learn how to mock the Geolocation Class to create our own GPS spoofer.