Akdeniz / google-play-crawler

Play with Google Play API :)
Other
561 stars 204 forks source link

service.details(packageName) doesn't return details of latest version of apk. #89

Open pravinshinde opened 7 years ago

pravinshinde commented 7 years ago

Hi Akdeniz,

I tried following code and it always gives me older version apk details information:

 val details = service.details(packageName); 
 val appDetails = details.getDocV2().getDetails().getAppDetails();

 val versionCode = appDetails.getVersionCode();
 val versionNumber = appDetails.getVersionString();

here, I have cross-checked values of versionCode & versionNumber with play store values for particular app (com.uberapp), I'm getting different values for the same.

Service gives me:- versionCode = 31442 & versionNumber = 3.117.3 Downloaded apk(Play Store) gives me:- versionCode = ***\ & versionNumber = 3.126.0

Is it possible to get latest version app details ?

Thanks.

LMM0709 commented 7 years ago

Hi pravinshinde, I am a new user of java, i don't know how to run this project because it can not import to eclipse. I do not know what email, password, and android id are means and what relationship between them. You must be run this project sucessful for searching android applications on GooglePlay and achieving user reviews of an App. Can you tell me how can i run this project? Are emali and password google account?
Can you please help me in these issues Thanks a lot lmm

dimmduh commented 7 years ago

@pravinshinde, google return latest version based on your device.

anton9088 commented 7 years ago

This library has hardcoded user agent which is very old. You can use here4thee fork which have more newest user agent