parent
9c4eda54f1
commit
a023d02ae2
|
@ -139,7 +139,7 @@ CHECKOUT OPTIONS:
|
|||
:commit: 714f5ebe199ecc999b33c6f97a4bb57e2db90e75
|
||||
:git: https://github.com/WhisperSystems/SignalProtocolKit.git
|
||||
SignalServiceKit:
|
||||
:commit: 26d181dfb23228cf445439b7b810041b6884fc68
|
||||
:commit: fd98158c838c75ea0612ba6d1a98d0720417e2b2
|
||||
:git: https://github.com/WhisperSystems/SignalServiceKit.git
|
||||
SocketRocket:
|
||||
:commit: 41b57bb2fc292a814f758441a05243eb38457027
|
||||
|
|
|
@ -47,7 +47,13 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
|
|||
|
||||
#pragma mark Detect updates - perform migrations
|
||||
|
||||
- (void)applicationDidEnterBackground:(UIApplication *)application {
|
||||
DDLogWarn(@"%@ applicationDidEnterBackground.", self.tag);
|
||||
}
|
||||
|
||||
- (void)applicationWillEnterForeground:(UIApplication *)application {
|
||||
DDLogWarn(@"%@ applicationWillEnterForeground.", self.tag);
|
||||
|
||||
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:0];
|
||||
}
|
||||
|
||||
|
@ -231,6 +237,8 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
|
|||
}
|
||||
|
||||
- (void)applicationDidBecomeActive:(UIApplication *)application {
|
||||
DDLogWarn(@"%@ applicationDidBecomeActive.", self.tag);
|
||||
|
||||
if (getenv("runningTests_dontStartApp")) {
|
||||
return;
|
||||
}
|
||||
|
@ -252,6 +260,8 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
|
|||
}
|
||||
|
||||
- (void)applicationWillResignActive:(UIApplication *)application {
|
||||
DDLogWarn(@"%@ applicationWillResignActive.", self.tag);
|
||||
|
||||
UIBackgroundTaskIdentifier __block bgTask = UIBackgroundTaskInvalid;
|
||||
bgTask = [application beginBackgroundTaskWithExpirationHandler:^{
|
||||
|
||||
|
@ -331,6 +341,7 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
|
|||
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo {
|
||||
[[PushManager sharedManager] application:application didReceiveRemoteNotification:userInfo];
|
||||
}
|
||||
|
||||
- (void)application:(UIApplication *)application
|
||||
didReceiveRemoteNotification:(NSDictionary *)userInfo
|
||||
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
|
||||
|
|
Loading…
Reference in New Issue