Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 751bf02

Browse files
djalmaaraujoMax
authored andcommitted
Added requiresMainQueueSetup to prevent warning and future side-effects (#1035)
1 parent 6872c12 commit 751bf02

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ios/CodePush/CodePush.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,11 @@ - (NSDictionary *)constantsToExport
302302
};
303303
};
304304

305+
+ (BOOL)requiresMainQueueSetup
306+
{
307+
return YES;
308+
}
309+
305310
- (void)dealloc
306311
{
307312
// Ensure the global resume handler is cleared, so that
@@ -627,7 +632,7 @@ -(void)loadBundleOnTick:(NSTimer *)timer {
627632
_didUpdateProgress = NO;
628633
self.paused = NO;
629634
}
630-
635+
631636
NSString * publicKey = [[CodePushConfig current] publicKey];
632637

633638
[CodePushPackage

0 commit comments

Comments
 (0)