Skip to content

Commit

Permalink
version code in build id
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerboa-app committed Jul 29, 2023
1 parent 8a2feba commit 2450f2a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ android {
applicationId "app.jerboa.spp"
minSdk 23
targetSdk 33
versionCode 28
versionCode 30
versionName "0.5.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down
Binary file modified app/release/app-release.aab
Binary file not shown.
13 changes: 6 additions & 7 deletions app/src/main/java/app/jerboa/spp/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,6 @@ class MainActivity : AppCompatActivity() {

val prefs = getSharedPreferences("jerboa.app.spp.prefs", MODE_PRIVATE)

// if (BuildConfig.DEBUG){
// prefs.edit().clear().apply()
// }

if (!prefs.contains("firstLaunch")){
val prefsEdit = prefs.edit()
prefsEdit.putBoolean("firstLaunch",true)
Expand All @@ -352,9 +348,7 @@ class MainActivity : AppCompatActivity() {
prefsEdit.putBoolean("firstLaunch",false)
prefsEdit.apply()

if (DEBUG) { Log.d("launch", firstLaunch.toString()) }

val versionString = BuildConfig.VERSION_NAME + ": " + Date(BuildConfig.TIMESTAMP)
val versionString = BuildConfig.VERSION_NAME + " (vc"+BuildConfig.VERSION_CODE+") : " + Date(BuildConfig.TIMESTAMP)

var showNews = false
if (!firstLaunch) {
Expand All @@ -366,6 +360,11 @@ class MainActivity : AppCompatActivity() {
}
}

// if (BuildConfig.DEBUG){
// prefs.edit().clear().apply()
// }


// play game services

if (isGooglePlayGamesServicesInstalled(this)) {
Expand Down
Binary file modified app/src/main/res/drawable/tutorial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2450f2a

Please sign in to comment.