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.5k stars 192 forks source link

[BUG] Navigate option when using "Use Mac Location" toolbaritem #165

Closed risangbaskoro closed 1 year ago

risangbaskoro commented 1 year ago

Currently, the Use Mac Location feature only supports teleportation, but it would be beneficial to have a navigate option similar to the Set location… feature. It would be ideal if the Use Mac Location feature also had teleport and navigate options.

Additionally, it would be useful to have the ability to set the default behavior in settings or prompt the user to choose each time the action is performed. Suggested settings include “Ask each time,” “Always teleport,” and “Always navigate.”

risangbaskoro commented 1 year ago

My mistake. The feature is already implemented only when using the feature from the Mac's menu bar. It still will be nice if it's enabled in app's menu bar.

Schlaubischlump commented 1 year ago

Interesting. I'll reopen the issue, because that sure seems like a bug. It should behave identical !

Schlaubischlump commented 1 year ago

I tried to reproduce the error, but the behaviour is correct for me. It doesn't matter if I use the toolbar or menubar item (which makes sense, since the both just call the same function internally setLocationToCurrentLocation.

Did you maybe not have a previous location set ? The option to navigate only occurs if you already set a location.

risangbaskoro commented 1 year ago

I usually don't use the set location when I open the app. How I initialize my location spoofing:

  1. Open the app on Mac
  2. Unlock the iPhone
  3. Choose my device
  4. Choose "Set Mac Location to current location" from toolbar item
  5. Hit teleportation confirmation (enabled in preferences)
  6. The phone location is set to the Mac's location

How I found the bug:

  1. Walk around using arrow keys, without setting location using coords
  2. Use Mac location
  3. The teleport confirmation appears, not the option.

But then, when I read your reply, it behaves like intended. The option wether to navigate or teleport appears.

I think it's my mistake and you can close this issues. I'll let you know when something's not right.