PokeGOAPI-Java
PokeGOAPI-Java copied to clipboard
version 0.4.1 doesn't works as well as before
From @tommywuhaojie:
After this new login, version 0.4.1 doesn't works as well as before. It throws exception almost every time when I login using both google key and PTC, So I have to roll back my App to use 0.4.0 API.
use dirty code to solve the issues PokemonGo go = ... boolean logged = false; int attempt = 1; do { try { go.login(provider); logged = true; } catch(Exception e) { attempt++; if (attempt > 3) { throw e; } } } while(!logged) I think you can close this issue @LoungeKatt