javiersantos / AppUpdater

A library that checks for your apps' updates on Google Play, GitHub, Amazon, F-Droid or your own server. API 9+ required.
Apache License 2.0
1.98k stars 412 forks source link

It checks versionCode or versionName #124

Closed hcrgithub closed 6 years ago

hcrgithub commented 6 years ago

Below is the scenario: I had an app at playstore with below versionCode and versionName; versionCode 1 versionName “1”

Now to test, I did below cases Case 1: versionCode 0 versionName "0.1" Result : Update pop up is displayed

Case 2: versionCode 1 versionName "1.1" Result : Update pop up is NOT displayed

So does it compares with versionName? I just want to confirm it.

Thanks in advance, Hooda

javiersantos commented 6 years ago

Google Play doesn't support versionCode. You should use UpdateFrom.JSON or UpdateFrom.XML instead.