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.39k stars 184 forks source link

[BUG] Location is not reset when LocationSimulator is closed or the device gets disconnected #127

Closed dkline77 closed 1 year ago

dkline77 commented 2 years ago

After using the app, I found that my iPhone was unable to track my location across any iPhone application after closing the locationsimulator. Find my, google maps, and others show my location stationary to wherever I had last left the location on the locationsimulator app.

To Reproduce Steps to reproduce the behavior:

  1. Use the app and leave the location somewhere other than present real postion
  2. close application and walk to a new location
  3. The iPhone tracking does not register movement beyond directional faces

Expected behavior The pinpoint location of "find my" will move with my actual location

Screenshots - below is first an image of the location from my computer and below is the location of the iPhone both screenshots from respective devices when next to each other. If applicable add screenshots to help explain your problem. Image 7-3-22 at 1 48 PM Image 7-3-22 at 1 48 PM

Desktop (please complete the following information):

Smartphone (please complete the following information):

Schlaubischlump commented 2 years ago

Hi @dkline77,

thank you for your bug report. Sadly I can not fix the core of this problem. See #92

I can only send commands to your iPhone while it is connected. If you disconnect it, I can not send any command to it. There is no way for me to detect when you are about to disconnect your device. That means you have to manually reset the location when you are finished using the reset button (button with the "X" symbol).

The only thing I could do is automatically reset the location when you close LocationSimulator. This won't address the scenario I described above, but it would fix the steps you used to produce the error. Would this help you ? The error would still appear, if you unplug your iOS device, while LocationSimulator is running. It would only be reset, if you close LocationSimulator while your device is connected.