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

position always jumping to real position #10

Open
Flexmaen opened this issue Aug 9, 2018 · 16 comments
Open

position always jumping to real position #10

Flexmaen opened this issue Aug 9, 2018 · 16 comments
Labels
bug Something isn't working

Comments

@Flexmaen
Copy link

Flexmaen commented Aug 9, 2018

Using a Keyone (with Android 7.1.1), I opend Google Maps and the position always jumped to the real position within a few seconds. Depending on the setting it permanentely changed between emulated and real position, but it was not possible at all to hide your real position.

@mcastillof
Copy link
Owner

Thanks for reporting the problem. I don't have Gapps installed, but I will borrow a phone to do some test. Meanwhile, can you try with network location and GPS on and off?

@azzopolo
Copy link

azzopolo commented Aug 11, 2018

I try with network location and GPS. Both dont change anyting. İnstagram, phone witgets location is change but google map is still my own location.

@mcastillof
Copy link
Owner

What if you turn off network location and also turn off GPS?

@azzopolo
Copy link

azzopolo commented Aug 11, 2018

When ı turn off GPS only with wi-fi 1 second or more less time is show mock location and again own locatin. When turn wi-fi try with only Mobile gps its SAME

@azzopolo
Copy link

last question:
static final int INFINITE = 2;

is it possible to remove timer. Can it work untill app is closed?

@mcastillof mcastillof added the bug Something isn't working label Aug 12, 2018
@mcastillof
Copy link
Owner

mcastillof commented Aug 12, 2018

Ok. I have confirmed the problem with an old phone. I was searching in StackOverflow and it seems that is posible to fool Google Maps. This guy seems to get the problem solved https://stackoverflow.com/a/15190788.

@mcastillof
Copy link
Owner

mcastillof commented Aug 12, 2018

@azzopolo press the "..." button, and set 0 as how many times (this means that it should mock the location for ever), and maybe 1 as seconds of interval (that EditText only accepts positive integers, but I can change it to a positive double if it is really needed).

@mcastillof
Copy link
Owner

With location mode set to battery saving (network) and with WIFI network off (maybe with cellular data off too, but can't test it, because this phone doesn't have a SIM card), Google Maps seems fooled. I'm using 10 seconds between every mock.

@azzopolo
Copy link

azzopolo commented Aug 12, 2018

in last release 1.5 version is okey. Working good. Not jumping. Thanks

@mcastillof
Copy link
Owner

really? could you please test with all combinations, battery saving mode (with internet and without), high accuracy, only device??
what time interval are you using?

@azzopolo
Copy link

azzopolo commented Aug 12, 2018

@mcastillof yes ı testing now. Before mock location is changing immediatly at google map. Now is google map location is changed and dont jump own location again. İts still at mock location.

@mcastillof
Copy link
Owner

If it is working, it may be related to the changes in file app/src/main/java/cl/coders/faketraveler/MockLocationProvider.java, lines 45 and below in the last commit.

@azzopolo
Copy link

Google maps its ok but other app that use location like wheather widget,instagram etc is change again 10 seconds later.. i remove timer but change..

@elgordisimo
Copy link

elgordisimo commented Sep 17, 2018

First, thank you for this app.

I have a similar problem. If I rotate the screen then the button changes from 'stop' to 'apply' and my real location is leaked. I then have to click the 'apply' button again. Locking the screen rotation is a workaround to stop this from happening.

I'm using v1.6, Android 7.0, Moto G5

@bob333
Copy link

bob333 commented Dec 8, 2018

@mcastillof Thanks so much for this app. Tested on google maps(wifi and internet is off during the test) and it switches the screen b/w my fake location and real location every 3 seconds.

Tested on app version 1.6 and android version 6.0.

  1. Set "How many times to mock" = 0
  2. Set "How many seconds b/w mock" = 1
  3. Set the lat & long and pressed apply
  4. Mock location Applied -> Mock Service Running Toast appeared
  5. Open google maps and it keeps switching the location b/w my real location and fake location every 3 seconds.

@WaterSibilantFalling
Copy link

l had this problem too.

The solution was fixing my phone's (default) setting: Settings > Security & Location > Location ( long tap) > .Scanning > Turn off " Bluetooth scanning" and "WiFi Scanning"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants