android-version-actions icon indicating copy to clipboard operation
android-version-actions copied to clipboard

Current versionName and versionCode?

Open iadcialim opened this issue 2 years ago • 1 comments

How do you get the current versionName and versionCode? My use case is to append some text into the versionName. For example, current versionName is "1.2.3", then I want it to be "1.2.3-hotfix"

iadcialim avatar Aug 19 '22 07:08 iadcialim

+1 for this versionCode = currentVersionCode + 1

nathantaal avatar Jan 01 '23 15:01 nathantaal