mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 23:59:42 +08:00
reenable comment
This commit is contained in:
@@ -513,6 +513,7 @@ RCT_EXPORT_METHOD(getNewStatusReport:(RCTPromiseResolveBlock)resolve
|
||||
rejecter:(RCTPromiseRejectBlock)reject)
|
||||
{
|
||||
if ([_bridge.bundleURL.scheme hasPrefix:@"http"]) {
|
||||
// Do not report metrics if running bundle from packager.
|
||||
resolve(nil);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user