Grover-c13 / PokeGOAPI-Java

Pokemon Go API
GNU General Public License v3.0
1.05k stars 334 forks source link

Auto get authcode from Google without copy - paste? #785

Closed vodoi1432 closed 7 years ago

vodoi1432 commented 8 years ago

can somebody help me solve this prob? im using ver 0.4.0.

RebliNk17 commented 7 years ago

yes i can help you with that solution: not getting to auth code at all you this: GoogleAutoCredentialProvider provider = new GoogleAutoCredentialProvider(httpClient, username, password, new SystemTimeImpl()); PokemonGo go = new PokemonGo(httpClient); go.setDeviceInfo(deviceInfo()); go.login(provider);