diff --git a/React/Modules/RCTDevMenu.m b/React/Modules/RCTDevMenu.m index 23f2184f4..a9e92e6cf 100644 --- a/React/Modules/RCTDevMenu.m +++ b/React/Modules/RCTDevMenu.m @@ -531,7 +531,9 @@ RCT_EXPORT_METHOD(reload) - (BOOL)hotLoadingAvailable { - return false; + return !_bridge.bundleURL.fileURL // Only works when running from server + && [_bridge.delegate respondsToSelector:@selector(bridgeSupportsHotLoading:)] + && [_bridge.delegate bridgeSupportsHotLoading:_bridge]; } - (void)setHotLoadingEnabled:(BOOL)enabled