Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App stops fake location after a while silently #64

Open
systemoperator opened this issue Oct 25, 2023 · 9 comments
Open

App stops fake location after a while silently #64

systemoperator opened this issue Oct 25, 2023 · 9 comments

Comments

@systemoperator
Copy link

systemoperator commented Oct 25, 2023

Describe the bug
When the fake location is enabled, after a while, the app is terminated, even though all power saving options for this app are disabled. Other applications, which are configured the same way, properly run indefinitely in the background. To give an idea concerning the timespan, the app seems to be terminated within 5 to 10 minutes.

Information

  • OS: Android 9
  • FakeTraveler version: 1.9.1

To Reproduce
Steps to reproduce the behavior:

  1. Disable all power saving options and allow running Fake Traveller in the backround
  2. Start Fake Traveller
  3. Apply fake location
  4. Let it run in the background while doing other things.
  5. When opening the application later on, the APPLY button is shown again, meaning, the location is not active anymore.

Expected behavior
The set fake location defined with Fake Traveler should persist, until the fake location is stopped from within the app.

Screenshots

Logcat

Additional context

@JonnyTech
Copy link
Contributor

image

How many times do you mock the location? The default is 1. So it only does it once then stops. Set it to 0.

@systemoperator
Copy link
Author

How many times do you mock the location? The default is 1. So it only does it once then stops. Set it to 0.

Thank you for your rapid response. Both values are already set to zero.

@JonnyTech
Copy link
Contributor

I do not recommend setting the interval to zero. Not sure what that would do to be honest. I find that 30s or more is usually sufficient.

@systemoperator
Copy link
Author

I do not recommend setting the interval to zero. Not sure what that would do to be honest. I find that 30s or more is usually sufficient.

For some reason, sometimes the position is sporadically overwritten with the real GPS position, if it is not set very frequently. But I will again try it, with an increased time interval, starting with 1s.

@JonnyTech
Copy link
Contributor

IIRC, on Android 9 I had to disable location access in Android settings first, then real location would not leak.

@systemoperator
Copy link
Author

IIRC, on Android 9 I had to disable location access in Android settings first, then real location would not leak.

If I set the refresh interval to 1s, the location sporadically shortly jumps every 15s to the real location. If I subsequently open Settings > Security & privacy > Location access and disable Access my location on Android 9, then other apps request to enable this setting to be able to use them. 🤔

@JonnyTech
Copy link
Contributor

Location is systemwide. You cannot assign different locations to diffetent apps. The Android system provides the location. Whilst spoofing, FakeTraveler provides the Android system the fake location. No apps communicate directly with FakeTraveller. So you cannot have it both ways. Either everything sees the real location or the spoofed one.

@systemoperator
Copy link
Author

Location is systemwide. You cannot assign different locations to diffetent apps. The Android system provides the location. Whilst spoofing, FakeTraveler provides the Android system the fake location. No apps communicate directly with FakeTraveller. So you cannot have it both ways. Either everything sees the real location or the spoofed one.

It would be ok for me, to only use the spoofed location. I have already tried several fake location apps, but each app had issues to shortly leak the real position sporadically. If I disable the aforementioned location access system-wide in the Android settings and then enable Fake Traveler, several apps complain, that the android setting for location access must be enabled, otherwise they do not work. Or did you mean a different Android setting?

@DxBONESxBACK
Copy link

I'm having the same issue and was disappointed that I had to revert back to the LC app so I could stream a football game. Screenshot_20231120-084519.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants