mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 23:59:42 +08:00
ifdef
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user