Skip self update for nightlies
This commit is contained in:
@@ -27,6 +27,7 @@ object Constants {
|
||||
const val BROWSE_EXTRA = "BROWSE_EXTRA"
|
||||
|
||||
const val FETCH_GROUP_ID = "FETCH_GROUP_ID"
|
||||
const val APP_ID = "com.aurora.store"
|
||||
|
||||
const val CONNECTIVITY_CHECK_URL = "https://connectivitycheck.android.com/generate_204"
|
||||
const val EXODUS_BASE_URL = "https://reports.exodus-privacy.eu.org/api/search/"
|
||||
|
||||
@@ -125,8 +125,9 @@ class MainActivity : BaseActivity() {
|
||||
checkExternalStorageManagerPermission()
|
||||
}
|
||||
|
||||
/* Check self update */
|
||||
checkSelfUpdate()
|
||||
/* Check self update only for stable release, skip debug & nightlies*/
|
||||
if (BuildConfig.APPLICATION_ID == Constants.APP_ID)
|
||||
checkSelfUpdate()
|
||||
}
|
||||
|
||||
private fun attachToolbar() {
|
||||
|
||||
Reference in New Issue
Block a user