From 6a7f3fce37832df485b6ef9611e1851f890cbbae Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Tue, 17 Sep 2013 20:09:11 +0200 Subject: [PATCH] Change BITStoreUpdateManager default check interval to weekly Since iOS 7 provides auto update, this setting is potentially less nagging on people having auto updates activated and where updates just didn't go through yet --- Classes/BITStoreUpdateManager.h | 2 +- Classes/BITStoreUpdateManager.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/BITStoreUpdateManager.h b/Classes/BITStoreUpdateManager.h index 038043db49..b318ff4dbf 100644 --- a/Classes/BITStoreUpdateManager.h +++ b/Classes/BITStoreUpdateManager.h @@ -93,7 +93,7 @@ typedef NS_ENUM(NSInteger, BITStoreUpdateSetting) { - `BITStoreUpdateCheckWeekly`: Once a week - `BITStoreUpdateCheckManually`: Manually - **Default**: BITStoreUpdateCheckDaily + **Default**: BITStoreUpdateCheckWeekly @warning When setting this to `BITStoreUpdateCheckManually` you need to either invoke the update checking process yourself with `checkForUpdate` somehow, e.g. by diff --git a/Classes/BITStoreUpdateManager.m b/Classes/BITStoreUpdateManager.m index 3407ca28b7..911d7318f2 100644 --- a/Classes/BITStoreUpdateManager.m +++ b/Classes/BITStoreUpdateManager.m @@ -104,7 +104,7 @@ // set defaults self.checkForUpdateOnLaunch = YES; - self.updateSetting = BITStoreUpdateCheckDaily; + self.updateSetting = BITStoreUpdateCheckWeekly; if (!BITHockeyBundle()) { NSLog(@"[HockeySDK] WARNING: %@ is missing, built in UI is deactivated!", BITHOCKEYSDK_BUNDLE);