I tested it and it works and there was no need for any changes.
Try attached example.
just change it to your package name and use your signing key
A problem: Using the TEST App above putting in a number of package names I was finding sometimes it worked and sometimes appeared to work with some odd results.
I finally realised it was updating with the second last version.
IE: An App,
Version 9 is the current version
in Play Store. If I set the VersionCode in the
test App to 1 the App is
updated to Version 8.
If I set the VersionCode in the test App to 8 it does not update.
The Test App is finding the previous version in the PlayStore, the code in real Apps apprears to have the same behaviour
Any clues? Have I done something wrong?
Regards Roger