diff --git a/React/Base/RCTBatchedBridge.m b/React/Base/RCTBatchedBridge.m index fc07a8711..7318999d6 100644 --- a/React/Base/RCTBatchedBridge.m +++ b/React/Base/RCTBatchedBridge.m @@ -474,7 +474,7 @@ RCT_EXTERN NSArray *RCTGetModuleClasses(void); #if RCT_DEV - if (RCTGetURLQueryParam(self.bundleURL, @"hot")) { + if ([RCTGetURLQueryParam(self.bundleURL, @"hot") boolValue]) { NSString *path = [self.bundleURL.path substringFromIndex:1]; // strip initial slash NSString *host = self.bundleURL.host; NSNumber *port = self.bundleURL.port;