Use either APNs or background polling but not both

pull/156/head
gmbnt 4 years ago
parent fcba3bc76f
commit 3490f8a34f

@ -709,6 +709,7 @@ static BOOL isUsingFullAPNs = YES;
- (void)enableBackgroundRefreshIfNecessary
{
if (isUsingFullAPNs) { return; }
[AppReadiness runNowOrWhenAppDidBecomeReady:^{
[UIApplication.sharedApplication setMinimumBackgroundFetchInterval:UIApplicationBackgroundFetchIntervalMinimum];
// Loki: Original code

Loading…
Cancel
Save