Skip self update for nightlies

This commit is contained in:
Rahul Kumar Patel
2021-04-07 00:40:41 +05:30
parent 93f6c2a51e
commit e2141aac72
2 changed files with 4 additions and 2 deletions

View File

@@ -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/"

View File

@@ -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() {