Faking location in Android and iOS to discover Virtual/GPS locations: Difference between revisions

Jump to navigation Jump to search
 
Line 12: Line 12:
** Create a GPX file and enter the location/coordinates you want to fake. Example of the content of the file:
** Create a GPX file and enter the location/coordinates you want to fake. Example of the content of the file:


<gpx>
<gpx>
     <wpt lat="51.498594" lon="-0.133106"></wpt>
     <wpt lat="51.498594" lon="-0.133106"></wpt>
</gpx>
</gpx>


** Execute in the Xcode menu "Debug"/"Simulate Location"/"Add GPX File to Project" and pick up the GPX file you have created
** Execute in the Xcode menu "Debug"/"Simulate Location"/"Add GPX File to Project" and pick up the GPX file you have created
** Execute in the Xcode menu "Debug"/"Simulate Location" and check your GPX file
** Execute in the Xcode menu "Debug"/"Simulate Location" and check your GPX file
** After that, refresh project Magnet application (scrolling down the main screen of the app) so you can see the Virtual Beacons around to the new location you are faking
** After that, refresh project Magnet application (scrolling down the main screen of the app) so you can see the Virtual Beacons around to the new location you are faking
Confirmed users
1,225

edits

Navigation menu