xbenjii / PokeMock

Allows you to control your Pokemon GO character using a joystick overlay.
36 stars 5 forks source link

Issue? Getting failed to detect location #1

Closed Xstasy closed 7 years ago

Xstasy commented 8 years ago

Game starts up, my character is moving, but game says failed to detect location.

I installed the xposed module, added PokeMock as mocking app, even restarted the phone. Running Android 6.0.1

xbenjii commented 8 years ago

I've found this happens when Pokemon GO detects there is a mock location set, which probably means the xposed module isn't working.

Can you confirm that it's working by using another mock location app such as this?

Xstasy commented 8 years ago

It's not, so I guess that it's the module not working. Wonder why though.

bjella commented 8 years ago

Will this APK work as normal when installed as a system app? That is a solution that works with FakeGPS and Pokemon Go.

Very nice and simple sourcecode btw :) Works very good on google Maps etc, but pokemon go go seems to detect the mock location setting.

Xstasy commented 8 years ago

You need XPosed and Mock Mock locations =)

On Sun, Jul 17, 2016 at 11:39 AM, Øystein Bjerland <notifications@github.com

wrote:

Will this APK work as normal when installed as a system app? That is a solution that works with FakeGPS and Pokemon Go.

Very nice and simple sourcecode btw :) Works very good on google Maps etc, but pokemon go go seems to detect the mock location setting.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xbenjii/PokeMock/issues/1#issuecomment-233173593, or mute the thread https://github.com/notifications/unsubscribe-auth/AARTyZjWd3LhHhoqmEg3iKMfAjqTiAVxks5qWfhlgaJpZM4JLpcI .

Best regards Daniel Gothenborg Phone: +47 41 10 33 11

bjella commented 8 years ago

Well.. Pokemon detects Mock Mock locations currently tho :) At least for me?

I'm looking for the approach Fake Gps are using in "expert-mode" (system app), which is hidden from detection. Found something here http://stackoverflow.com/questions/17412826/use-mock-location-without-setting-it-in-settings , I will try that later.

xbenjii commented 8 years ago

@bjella It seems like the above code is outdated for marshmallow, as confirmed with testing and the comments on the SO answer.

barnumbirr commented 8 years ago

Confirmed. Won't work with SKK version 23 or above. Character keeps "jumping" around between locations.

xbenjii commented 7 years ago

@mrsmn It does work on 23 since I've tested it and used it. Can you get me a logcat?

Xstasy commented 7 years ago

@xbenjii I think @mrsmn was referring to the SO reply.

xbenjii commented 7 years ago

Apologies. Don't suppose you could get me a logcat too?

Xstasy commented 7 years ago

Pokèmon Go does not detect "Mock Mock Locations". I had mine not working because of a borked xposed install, sounds like you're having the same issue. Pokemon GO only detects "Mock Application" if you don't have xposed correctly installed of if you haven't enabled "Mock Mock Locations".