[
https://issues.apache.org/jira/browse/CB-9465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16068153#comment-16068153
]
ASF GitHub Bot commented on CB-9465:
------------------------------------
Github user pa-de-solminihac commented on the issue:
https://github.com/apache/cordova-android/pull/298
I am afraid this commit was useless (if not harmful), as [the
documentation](https://developer.android.com/studio/publish/versioning.html#appversioning)
states:
> Warning: The greatest value Google Play allows for versionCode is
2100000000.
> Can't use "DNS Soa Serial number format" as Android versionCode
> -----------------------------------------------------------------
>
> Key: CB-9465
> URL: https://issues.apache.org/jira/browse/CB-9465
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-android
> Reporter: Pierre-Alexis de Solminihac
> Assignee: Joe Bowser
> Priority: Minor
>
> If you use the DNS Soa Serial number format format (ie. YYYYmmddss) as your
> Android versionCode it will be too big for an integer value, as the
> platforms/android/build.gradle script suffixes it with a "0".
> For example, today's versionCode could be 2015080601.
> The build script will suffix it with a "0", and cast it as an integer. So it
> becomes 20,150,806,010 but its too high for and integer, whose max value is
> 2,147,483,647.
> Then the build script fails.
> Worst part : it used to work, so I can't upgrade my apps on Google Play !
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]