mirror of
https://github.com/janoodleFTW/timy-messenger.git
synced 2026-01-23 02:14:39 +00:00
Fix #1 use the default way of versioning on Android
This commit is contained in:
parent
9dce7e94db
commit
3649fd619c
2 changed files with 2 additions and 3 deletions
|
|
@ -47,8 +47,7 @@ android {
|
|||
minSdkVersion 21 // avoid max 64k method limit
|
||||
targetSdkVersion 28
|
||||
|
||||
def (majorNum, minorNum, buildNum) = flutterVersionName.tokenize( '.' )
|
||||
versionCode majorNum.toInteger() * 1_000_000 + minorNum.toInteger() * 1_000 + buildNum.toInteger()
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ description: Timy group messaging app
|
|||
# In Android, build-name is used as versionName while build-number used as versionCode.
|
||||
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
|
||||
|
||||
version: 1.0.23+1
|
||||
version: 1.0.0+1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.2.2 <3.0.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue