ST-Apps/PoGo-UWP

Pokemon caught problem

Tourniquet88 opened this issue · 4 comments

So I just cought a Pokemon. It then disappeared from the map, but since then it will reappear every like 20 seconds then the phone vibrates and then its gone again. That happend in an endless loop.

Its there for a shorttime, the phone vibrates and then its gone. Also the Pokemon displayed in the right bottom bar disappear there too.

Another Problem I guess is, when I caught the Pokemon and restart the app, I can catch the Pokemon again at the same place.

This is happening because there is a new timer created every time the GameManagerViewModel is initialized. Basically every time you view a new screen and then go back to the map. It needs to track the timer that it has already created for refreshing the map rather than making a new one.
If two timers try to refresh the map too soon after one another the second timer will result in the map being cleared.

@JFouts isn't this related to #41 which we solved before?

Yes it is. This should be fixed completely after #15 is pulled.

Please try v1.0.7-beta to see if the bug is gone.