From a7f3d2343999b06179719046c2fdd273bdbe8b9b Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Sat, 27 Apr 2019 11:21:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E9=9C=80=E8=A6=81requiresMainQueueSet?= =?UTF-8?q?up?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/RCTHotUpdate/RCTHotUpdate.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ios/RCTHotUpdate/RCTHotUpdate.m b/ios/RCTHotUpdate/RCTHotUpdate.m index a5e843d..72435b6 100644 --- a/ios/RCTHotUpdate/RCTHotUpdate.m +++ b/ios/RCTHotUpdate/RCTHotUpdate.m @@ -136,7 +136,8 @@ RCT_EXPORT_MODULE(RCTHotUpdate); } + (BOOL)requiresMainQueueSetup { - return YES; + // only set to YES if your module initialization relies on calling UIKit! + return NO; } - (NSDictionary *)constantsToExport