diff --git a/Signal/src/AppDelegate.m b/Signal/src/AppDelegate.m index 6db7a7c8b..31d3e6c0f 100644 --- a/Signal/src/AppDelegate.m +++ b/Signal/src/AppDelegate.m @@ -1070,6 +1070,8 @@ static NSTimeInterval launchStartedAt; - (void)application:(UIApplication *)application performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler { + BOOL isUsingFullAPNs = [NSUserDefaults.standardUserDefaults boolForKey:@"isUsingFullAPNs"]; + if (isUsingFullAPNs) { return; } NSLog(@"[Loki] Performing background fetch."); [AppReadiness runNowOrWhenAppDidBecomeReady:^{ NSMutableArray *promises = [NSMutableArray new];