Skip to content

Commit

Permalink
Custom app version name and version code for android builds
Browse files Browse the repository at this point in the history
  • Loading branch information
aravind-raveendran committed May 27, 2024
1 parent 2ef1fa3 commit 514fddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ android {
applicationId "io.dolby.rn.interactiveplayer"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
versionCode Integer.valueOf(System.env.VERSION_CODE ?: 1)
versionName System.env.VERSION_NAME ?: "1.0"
}
signingConfigs {
release {
Expand Down

0 comments on commit 514fddd

Please sign in to comment.