PokeGOAPI-Java icon indicating copy to clipboard operation
PokeGOAPI-Java copied to clipboard

GetMaps returns empty object?

Open JohnTendik opened this issue 10 years ago • 30 comments

Hey guys, I don't want to be a nuisance or anything but I'm having issues with the GetMaps method.

Everything works in the API including getinventory, getplayerprofile etc, except for getmap.

compile 'com.pokegoapi:PokeGOAPI-library:0.3.4'

Am I doing something wrong, did the API change at all? I tried waiting 5 seconds between requests, even at the initial request which seems excessive xD

Thanks in advanced, and thanks for all the hard work! :+1:

JohnTendik avatar Aug 08 '16 02:08 JohnTendik

For anyone else having this issue and is using Ubuntu this worked. Just enter: sudo apt-get install default-jdk

DrBrad avatar Aug 08 '16 07:08 DrBrad

@DrBrad : @Grover-c13 has to publish version 0.4.0.

FabianTerhorst avatar Aug 08 '16 07:08 FabianTerhorst

@FabianTerhorst That or possibly you could use the commit by jabink.

DrBrad avatar Aug 08 '16 07:08 DrBrad

@DrBrad i uploaded 0.4.0 on my own jcenter profile.

FabianTerhorst avatar Aug 08 '16 07:08 FabianTerhorst

@FabianTerhorst How do you do that?

DrBrad avatar Aug 08 '16 08:08 DrBrad

@DrBrad i created the feature for the jcenter upload, because of that i tested this first and created and account for that with the package. This package got jcenter upload permisson from bintray.

FabianTerhorst avatar Aug 08 '16 08:08 FabianTerhorst

I have imported the 0.4.0 library in my project, but I still get an empty MapObjects (gyms, pokestops and nearby Pokemons).

ivoavido avatar Aug 09 '16 05:08 ivoavido

@andreaparise92 I finally got it working... Take a look at: https://github.com/Grover-c13/PokeGOAPI-Java/pull/516

ulyssessouza avatar Aug 09 '16 14:08 ulyssessouza

@ulyssessouza Thanks

ivoavido avatar Aug 09 '16 17:08 ivoavido

Looks like this is solved with the default device info

FabianTerhorst avatar Aug 15 '16 19:08 FabianTerhorst