Skip to content

Commit

Permalink
remove staleness check
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSltun committed Oct 21, 2024
1 parent a52a620 commit dab2250
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion android/app/src/main/java/net/artsy/app/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ class MainActivity : ReactActivity() {
"appUpdateInfo.isUpdateTypeAllowed(AppUpdateType.FLEXIBLE): ${appUpdateInfo.isUpdateTypeAllowed(AppUpdateType.FLEXIBLE)}"
)
if (appUpdateInfo.updateAvailability() == UpdateAvailability.UPDATE_AVAILABLE &&
(appUpdateInfo.clientVersionStalenessDays() ?: -1) >= DAYS_FOR_FLEXIBLE_UPDATE &&
appUpdateInfo.isUpdateTypeAllowed(AppUpdateType.FLEXIBLE)) {
Log.d(TAG, "appUpdateInfoTask.addOnSuccessListener: passed appUpdateInfo if statements")
// Start a flexible update
Expand Down

0 comments on commit dab2250

Please sign in to comment.