LHerskind / PokemonPositionFaker

A module for the xposed framework used for simulation walking in Pokemon GO
4 stars 1 forks source link

On/Off feature #10

Open benqqq opened 8 years ago

benqqq commented 8 years ago

About the latest version 1.7, the GPS spoofing function not works when the button is turned on (green), PokemonGO will show "GPS signal not found." on the top of screen. However, the turn off function works fine.

Thanks for your great module!

Environment: Xposed framework version 86 Nexus 5 stock Android 6.0.1

maxime-poulain commented 8 years ago

I can confirm there are one or two weird things. However I can assure you you don't need to enable Mock Locations (android 4+ or event 6+ with app chosing) to make it work. Patience and retry for now seems best way. Well at least for me !

Happy hungting

maxime-poulain commented 8 years ago

@Nanochrome you should think of add a Toast message when the app is getting off or on! In the few days I ll try making smart pull request , well smart or little :P, to help developtment of this.

benqqq commented 8 years ago

@Khaon Up to now, I have not enabled the Mock Locations setting, all of the older version 1.05- work fine on my phone.

LHerskind commented 8 years ago

@benqqq I guess u restarted the pokemon Go app? Sounds like your device is having some problems with getting the sharedPreferences, i will make a version with some logs and put a link here, if you then could try to turn on the app and open pokemon and then send me the log i could maybe see what is going on.

The mock locations setting dont need to be touched, i am not mocking, i just hook the location method in pokemon GO

@Khaon Good idea, do you mean while the pokemon Go app starts or when the key is pressed? Because i am having trouble using toast inside my xPosed module after i updated my phone.

LHerskind commented 8 years ago

@benqqq Have you tried pressing on the map in the spoofer, it seems like it is just in need of some coordinates to spoof to, and it gets new ones if you click on the map, so that made it work for me again, though i should make it so that it will save a new location when pressing on the Onbutton

benqqq commented 8 years ago

@benqqq Sounds like your device is having some problems with getting the sharedPreferences, i will make a version with some logs and put a link here, if you then could try to turn on the app and open pokemon and then send me the log i could maybe see what is going on.

No problem, I'm glad to support you! but I'm sorry that I will be able to upload logs four day later.

Have you tried pressing on the map in the spoofer, it seems like it is just in need of some coordinates to spoof to, and it gets new ones if you click on the map, so that made it work for me again, though i should make it so that it will save a new location when pressing on the Onbutton

This way work for me. After pressing the rocket button to jump to one position, it have to click the new position to let the spoofer position walk, spoofing will take effect actually at this time.

LHerskind commented 8 years ago

If you are still having problems with module try running this instead. I have added a couple of logs, u can then just send me the logfile :+1:

https://dl.dropboxusercontent.com/u/16926231/app-debug.apk

maxime-poulain commented 8 years ago

@Nanochrome I was suggesting to add a Toast message when the user press the power button to power button.

benqqq commented 7 years ago

sorry for my late reply. xposed_error_20160902_163340.zip Please refer to the attachment is the xposed log.

The problem like I mentioned before

  1. the faker position won't apply if only use rocket button to jump to a new position. PoGO will keep showing "GPS signal not found." title.
  2. Once switch from PoGO to home screen or other apps, if the faker is not walking(moving). PoGO will pop up and keep showing "GPS signal not found." title. too.