breautek commented on issue #1875:
URL: 
https://github.com/apache/cordova-android/issues/1875#issuecomment-3647256206

   To be clear the `package.json` is not used for versioning. Only the 
`config.xml` is. `package.json` is not suitable because you can optionally use 
different version numbers for each platform, which is something supported by 
`config.xml`.
   
   Assuming you don't use the platform specific attributes The 
`version="2.12.0"` inside `config.xml` is used for the marketing version (the 
version label end users see) and to build a version code integer, which is used 
by the android OS to determine which version is actually newer.
   
   The version code uses the formula `MAJOR * 100 + MINOR * 10 + PATCH` (if 
memory serves me right). The entire version code might be multiplied by 10 if 
you have ABI digit enabled, primarily used by old codebases that used 
crosswalk. The version code is an integer that must always be incrementing. You 
can't upload an APK to a track that has a version code less than what is 
already present in that track.
   
   I'm not sure where the problem lies the google play screenshot shows that 
the user facing version is `2.12.0` matching your `config.xml`. Can you clarify 
more specifically what is wrong?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to