hunk.code_window:     // if this experience id encountered a loading error before, discard any cache we might have
       return EXCachedResourceWriteToCache;
     }
     if ([EXShellManager sharedInstance].loadJSInBackgroundExperimental && ![self _areDevToolsEnabledWithManifest:manifest]) {
       return EXCachedResourceUseCacheImmediately;
     }
     if ([self _areDevToolsEnabledWithManifest:manifest]) {
       return EXCachedResourceNoCache;
     }
     return EXCachedResourceWriteToCache;
   }
  
hunk.labels: keep keep keep replace replace replace keep keep keep keep keep
hunk.file_path: ios/Exponent/Kernel/AppLoader/EXKernelAppLoader.m
hunk.type: replace
file: /**
   * Copyright (c) 2015-present, Facebook, Inc.
   * All rights reserved.
   *
   * This source code is licensed under the BSD-style license found in the
   * LICENSE file in the root directory of this source tree. An additional grant
   * of patent rights can be found in the PATENTS file in the same directory.
   */
  
  #import "ABI26_0_0RCTClipboard.h"
  
  #import <UIKit/UIKit.h>
  
  @implementation ABI26_0_0RCTClipboard
  
  ABI26_0_0RCT_EXPORT_MODULE()
  
  - (dispatch_queue_t)methodQueue
  {
    return dispatch_get_main_queue();
  }
  
  
  ABI26_0_0RCT_EXPORT_METHOD(setString:(NSString *)content)
  {
    UIPasteboard *clipboard = [UIPasteboard generalPasteboard];
    clipboard.string = (content ? : @"");
  }
  
  ABI26_0_0RCT_EXPORT_METHOD(getString:(ABI26_0_0RCTPromiseResolveBlock)resolve
                    rejecter:(__unused ABI26_0_0RCTPromiseRejectBlock)reject)
  {
    UIPasteboard *clipboard = [UIPasteboard generalPasteboard];
    resolve((clipboard.string ? : @""));
  }
  
  @end
  