Android versionCode
See original GitHub issueThe current versioning strategies successfully set the android versionName
but do not seem to impact the android versionCode
which is the more important number when publishing apks.
I’ve looked through https://docs.unity3d.com/Manual/CommandLineArguments.html but did not see any way to specify it. Although the -version
argument also isn’t documented so maybe there’s a way. Do you know how to specify the android versionCode
from the cli?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Version your app - Android Developers
Define values for both of the version settings available: versionCode and versionName . ... A positive integer used as an internal version number....
Read more >versionCode vs versionName in Android Manifest
android :versionCode — An integer value that represents the version of the application code, relative to other versions.
Read more >Manage your Android app's versionCode & versionName with ...
As you know, every Android app must declare an app's versionCode (a monotonically increasing integer for each version of the app), and versionName...
Read more >Android Version Code Tricks - ProAndroidDev
Version code is a special integer value which works as an internal version number. It is not visible to end users. Android system...
Read more >Versioning Android Apps - Semantic Versioning - Dipien
Version code & version name · version code ( android:versionCode on your AndroidManifest.xml ) . The version code is an incremental integer value...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, they are in fact not really undocumented CLI arguments, but custom arguments that are parsed using the build script provided by this action. See line 17 of the first reference. That is where the arguments are parsed into a Dictionary.
This is custom functionality of this actions build script that has no longer anything to do with Unity itself. The build script can be extended and so can the javascript bootstrapper.
thank you!