hunk.code_window:     addListenerWithNativeCallback('ExponentKernel.showQRReader', async event => {
         this.props.navigation.showModal('QRCode');
         return { success: true };
       });
       addListenerWithNativeCallback('ExponentKernel.addHistoryItem', async event => {
         let { manifestUrl, manifest, manifestString } = event;
         if (!manifest && manifestString) {
           manifest = JSON.parse(manifestString);
         }
         Store.dispatch(HistoryActions.addHistoryItem(manifestUrl, manifest));
       });
     }
     componentWillUnmount() {
       this._stopPollingForProjects();
  
hunk.labels: keep keep keep keep replace replace replace replace replace replace replace replace keep keep keep keep
hunk.file_path: home/screens/ProjectsScreen.js
hunk.type: replace
file: // Copyright (c) Facebook, Inc. and its affiliates.
  
  // This source code is licensed under the MIT license found in the
  // LICENSE file in the root directory of this source tree.
  
  #pragma once
  
  #include <string>
  #include <fb/fbjni.h>
  
  #include <cxxreact/ReactMarker.h>
  
  namespace facebook {
  namespace react {
  
  class JReactMarker : public facebook::jni::JavaClass<JReactMarker> {
  public:
    static constexpr auto kJavaDescriptor = "Lcom/facebook/react/bridge/ReactMarker;";
    static void setLogPerfMarkerIfNeeded();
  
  private:
    static void logMarker(const std::string& marker);
    static void logMarker(const std::string& marker, const std::string& tag);
    static void logPerfMarker(const ReactMarker::ReactMarkerId markerId, const char* tag);
  };
  
  }
  }
  