Schlaubischlump / LocationSimulator

MacOS application to spoof / fake / mock your iOS / iPadOS or iPhoneSimulator device location. WatchOS and TvOS are partially supported.
https://schlaubischlump.github.io/LocationSimulator/
GNU General Public License v3.0
2.53k stars 196 forks source link

[Feature] Adjusting the radius and time delta of the "Movement While Standing Still" feature #122

Open arjankahlon opened 2 years ago

arjankahlon commented 2 years ago

First of all, great idea with the "Movement While Standing Still" feature- works perfectly for its intended use & the fact that the resulting movements always remain close to the originally chosen location is a nice bonus.

However, for my specific use case, the magnitude (i.e. approx range of movement for each random move) and frequency (i.e. new location every __ seconds) of the movements are too high. Ideally, I would have a way to adjust either (or both) of those factors. Is it possible for me to edit these variables on my own by cloning/modifying the code of the app? If so, where can I find the appropriate values to modify?

Thank you in advance for your support!

Running macOS 12.3.1 on a 2019 MBP connected over USB to iPhone 13 Pro on iOS 15.4.1 - happy to provide any other details that would help!

Schlaubischlump commented 2 years ago

Glad that you like the feature !

I thought about making these values user changeable, but decided against it, since I did not really think that anybody would like to change them. Guess I was wrong 😄

You can indeed change them inside the code of LocationSpoofer, which is a dependency of LocationSimulator. What you have to do is the following:

  1. fork LocationSpoofer
  2. change the values at the top of this file
  3. commit your changes
  4. clone LocationSimulator and change the LocationSpoofer dependency to your fork
  5. compile the project

I'm currently busy with work, so it might take some (or a long) time until I can add new features to LocationSimulator.