This commit is contained in:
MNCHL 2023-12-03 09:04:08 +00:00 committed by GitHub
commit e7e42baf39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -15,6 +15,11 @@ plugins {
id("org.jlleitschuh.gradle.ktlint") version "11.4.0"
}
dependencies {
implementation("com.squareup.okhttp3:okhttp:4.9.0")
implementation("com.google.android.play:core:1.10.0")
}
/**
* Use the number of seconds/10 since Jan 1 2016 as the versionCode.
* This lets us upload a new build at most every 10 seconds for the

View file

@ -108,6 +108,10 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
),
ThemeHelper.SYSTEM_BAR_ALPHA
)
updateManager = UpdateManager(this)
updateManager.checkForUpdates()
}
}
)
}