hunk.code_window:   if (ABI16_0_0RCTViewControllerBasedStatusBarAppearance()) {
       ABI16_0_0RCTLogError(@"ABI16_0_0RCTStatusBarManager module requires that the \
                   UIViewControllerBasedStatusBarAppearance key in the Info.plist is set to NO");
     } else {
       [ABI16_0_0RCTSharedApplication() setStatusBarHidden:hidden
                                    withAnimation:animation];
     }
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:     NSLog(@"%s: Applying status bar hidden %d", __func__, hidden);
  
hunk.file_path: ios/versioned-react-native/ABI16_0_0/React/Modules/ABI16_0_0RCTStatusBarManager.m
hunk.type: add
file: // Copyright 2004-present Facebook. All Rights Reserved.
  
  #pragma once
  
  #include <JavaScriptCore/config.h>
  #include <JavaScriptCore/InspectorEnvironment.h>
  
  namespace Inspector {
  class InjectedScriptManager;
  }
  
  namespace facebook {
  namespace react {
  
  class LegacyInspectorEnvironment : public Inspector::InspectorEnvironment {
  public:
    LegacyInspectorEnvironment();
    ~LegacyInspectorEnvironment();
  
    Inspector::InjectedScriptManager* injectedScriptManager() const {
      return injectedScriptManager_.get();
    }
  private:
    std::unique_ptr<Inspector::InjectedScriptManager> injectedScriptManager_;
  
    bool developerExtrasEnabled() const override { return true; }
    bool canAccessInspectedScriptState(JSC::ExecState*) const override { return true; }
    Inspector::InspectorFunctionCallHandler functionCallHandler() const override;
    Inspector::InspectorEvaluateHandler evaluateHandler() const override;
    void willCallInjectedScriptFunction(JSC::ExecState*, const WTF::String& scriptName, int scriptLine) override {};
    void didCallInjectedScriptFunction(JSC::ExecState*) override {}
  };
  
  }
  }
  