-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why the versionName is 2.0.0? #68
Comments
That's a left-over from svgomg-twa, which was used as a base for the template. We can reset that back to Nevertheless, we need a mechanism to enable #3, where One option is to control this via the template. We'd have to bump The second option (somewhat my preferred, is to save the current versionCode and versionName to |
Reading about Versioning Android apps here... What do you think of having a Something like: ...
"version": "2.3.1",
... And then the versionCode 20301
versionName "2.3.1" (ignoring the API level and screen sizes from the post) Then the user just need to update the application version in the manifest in a semantic version way. To calculate the const versionCode = (majorVersion * 10000) + (minorVersion * 100) + patchVersion; |
...
"version": {
"code": 1,
"name": "1.0.0"
}
... |
Yes, but following a formula like this, the const versionCode = (majorVersion * 10000) + (minorVersion * 100) + patchVersion; So a version like But having both options also works. 👍 |
Why the versionName is 2.0.0?
https://github.com/GoogleChromeLabs/llama-pack/blob/2137ae160ffa9c64dfbe97e04815185ed733a66d/template_project/app/build.gradle#L47
There are any way to manage it? Or should we edit it manually from there?
The text was updated successfully, but these errors were encountered: