Can Version Code accept Dot (.)?


This is a simple issue that everyone must have faced.
The version code field in the screen 1 doesn’t accept “dot(.)”.

While publishing an update to an existing app on play store, it checks for the version code. It doesn’t accept existing code and needs a new one for every update. So we have to change the codes as 1,2,3 etc while we should be able to update them as 1.1 or 1.1.1 etc.

Version name accepts dots but that is not helpful as play store doesn’t check that.

Is it possible to implement this or is there any other existing workaround?

This is no bug.
Version code is always a number (integer) like 1 or 2 or 3 and else.

1 Like


Right. Thank You. So I guess, we have to update the version name as 1.1 (visible to users on play store) but update version code as integer.

Thanks for the document. Really helpful.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.