This commit is contained in:
Geoffrey Goh
2016-02-02 13:38:14 -08:00
parent 71fb32f952
commit e544e04054

View File

@@ -512,7 +512,7 @@ RCT_EXPORT_METHOD(notifyApplicationReady:(RCTPromiseResolveBlock)resolve
RCT_EXPORT_METHOD(getNewStatusReport:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject)
{
#if defined(DEBUG)
#ifdef DEBUG
// Do not report metrics if running in debug mode.
resolve(nil);
#else