Reputation: 658
I found a problem trying to update my app on Google play store. I upload a new version and after hours it seems to be updated. The console tells me that the app is published, i check with the playstore and there is the new version. The problem is that nobody can see the update, they see the new version but it's like they already updated the app. But I'm sure they don't, because the new version is different.
What is wrong??????
Upvotes: 3
Views: 2288
Reputation: 8381
To summarize the comments, it appears you may have updated the version name, but not the version code. The version name value is human-readable and can contain non-digit characters such as dots, letters etc., while the version code value must be a single integer.
To determine if an APK is an update, the update system checks to see if its version code is numerically higher than the existing APK's version code. As an example, an app could have a version name of 2.7.18 and version code 2070018 (using two zero-padded digits for the minor and four for the revision). Its next release could have a version name of 2.8.27 and code 2080027.
Further, version names, which are only really used by humans, don't have to any direct resemblance to the version codes. They could be names of animals ("lion", "tiger", "bear") or even Git hashes. To distinguish between debug and release versions, my build.gradle files are usually configured to automatically add a 'dbg' or 'rls' suffix to the version name.
Upvotes: 5